[Koha-bugs] [Bug 29669] Uninitialized value warnings when XSLTParse4Display is called

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 9 14:48:40 CET 2021


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

--- Comment #1 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 128373
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128373&action=edit
Bug 29669: fix uninitialized value warnings when XSLTParse4Display is called

Wrong key 'xsl_filename' is present in opac-tags.pl and shelves.pl
(the only places where it is used in the code even) instead of
'xsl_syspref' that is actually used and this is the cause of those
warnings.

Also added honeypot to check if other calls in same way happens.
Honeypot probably not needed, review when QA in the Community.

To reproduce:
1) Prepare some test list with items or use existing one.
2) Go to the lists page (koha/virtualshelves/shelves.pl),
notice multitude of new warnings in the "intranet-error.log" log file
that mostly have to do with "Use of uninitialized value $xslsyspref".
3) Apply the patch.
4) Go back to same page and check it again, warns like that should not
appear in the log file anymore.

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


More information about the Koha-bugs mailing list