[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 21:23:07 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31373
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #139210|0 |1
is obsolete| |
--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 139211
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139211&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
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list