Bug 24505 - Print overdue notice with html gives message: "The following terms were not matched and replaced"
Summary: Print overdue notice with html gives message: "The following terms were not m...
Status: RESOLVED DUPLICATE of bug 14347
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: 19.05
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 10:04 UTC by Stefan Norinder
Modified: 2020-04-05 12:25 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***