[Koha-bugs] [Bug 32539] UI hooks can break the UI
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 9 11:45:43 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32539
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #145366|0 |1
is obsolete| |
--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 146423
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146423&action=edit
Bug 32539: Add exception handling to plugin hooks in template plugin
This change wraps Koha plugin hook calls with exception handling
within the template plugin for Koha plugins.
Test plan:
0) Apply patch
1) Install a plugin that provides "opac_head", "opac_js",
"intranet_head", and "intranet_js" with Perl errors in them
2) Load an OPAC page
3) Note that the OPAC page loads correctly
4) Load a staff interace page
5) Note that the staff interface page loads correctly
Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list