[Koha-bugs] [Bug 24313] XSLT errors should show in the logs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 27 14:57:04 CET 2019


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

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 96650
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96650&action=edit
Bug 24313: Always display XSLT errors in logs

From
  commit 295ae33800a322facfdf56795f4c02b2fd53432b
  Bug 20272: Replace error numbers by codes in XSLT_Handler

"""
    Make XSLT_Handler a little bit less noisy by defaulting print_warns to
    false unless $ENV{DEBUG} is set. (See also bug 19018).
"""

I think we should warn the errors in the logs. They are not debug messages
here, we should not rely on DEBUG.
If too noisy we should fix the original issues, not hide all the errors (which
make the XSLT debugging super hard)

Test plan:
Break a XSLT, reload the page and confirm that there are useful errors in the
Koha log file

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


More information about the Koha-bugs mailing list