Bug 24505

Summary: Print overdue notice with html gives message: "The following terms were not matched and replaced"
Product: Koha Reporter: Stefan Norinder <somesecretemail>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: 19.05   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10720
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Stefan Norinder 2020-01-24 10:04:24 UTC
In overdue notice for the option "print" we use a template containing html. After running the overdue_notices cron job: 

> sudo perl  /usr/share/koha/bin/cronjobs/overdue_notices.pl -t -v -html /tmp

a message is presented by the system "The following terms were not matched and replaced: html, div, etc...". 

It seems like the system confuses the "<< >>" enclosed text with the html components. 

Nothing from the template is added to the generated html file. 

This bug is exactly the same as this bug fixed in 2013: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10720 

You can also find it well documented in the commit here: https://gitlab.deichman.no/digibib/Koha/commit/394be84dcd65a4569d0467bc12b99dbd6341fc43
Comment 1 Katrin Fischer 2020-04-05 12:25:50 UTC

*** This bug has been marked as a duplicate of bug 14347 ***