[Koha-bugs] [Bug 30330] New: Bad fields within comments in a HTML notice still cause a crash
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 22 13:31:54 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30330
Bug ID: 30330
Summary: Bad fields within comments in a HTML notice still
cause a crash
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Notices
Assignee: koha-bugs at lists.koha-community.org
Reporter: m.de.rooy at rijksmuseum.nl
QA Contact: testopia at bugs.koha-community.org
I had something like this in a notice:
<!-- [% table.unkown_field %] -->
The table is linked to a valid Koha object. The field is wrong.
Running Print slip from within circ/article-requests caused a crash like:
ERROR PROCESSING TEMPLATE: undef error - The method
Koha::<<TABLE>>-><<UNKNOWN_FIELD>> is not covered by tests!
While this is within a comment, I did not hope to see that.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list