[Koha-bugs] [Bug 31373] Notice template validation is missing INCLUDE_PATH

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 16 18:17:41 CEST 2022


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

--- Comment #1 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 139210
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139210&action=edit
Bug 31373: Add INCLUDE_PATH to notice validation

This is a follow-up to bug 31211. It adds the same INCLUDE_PATH
variables as C4::Templates adds during processing to prevent false
failures.

Test plan
1) Add an INCLUDE to any valid notice, for example:
   [% INCLUDE 'patron-title.inc' patron => patron %]
2) Save and continue
3) Confirm you are faced with a validation error complaining that
   the include file cannot be found
4) Apply this patch
5) Confirm that the reported error has dissapeared

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


More information about the Koha-bugs mailing list