[Koha-bugs] [Bug 31211] Check slips and notices for valid Template Toolkit and report errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 21 17:13:36 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31211

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 137984
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137984&action=edit
Bug 31211: Check slips and notices for valid Template Toolkit and report errors

It would be useful for Koha to run a basic TT validation test and report back
errors.
That way if somebody misses an END tag or something of that nature, it will be
easy to find and fix.

Test Plan:
1) Apply this patch
2) Edit a notice, change the content to simply "[% END %]"
   or some other invalid Template Toolkit
3) Choose "Save and continue editing"
4) Note the new "Template Toolkit error" field that displays the error
   message

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list