Koha-clms/Koha/Template/Plugin
David Cook f8a4bf4528 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@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 23a0021122)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 0623ba78e5)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 19772ed318)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
2023-02-17 14:10:14 +01:00
..
AdditionalContents.pm Bug 24387: Rename "News" with "Additional contents" 2021-08-16 11:55:55 +02:00
Asset.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
AudioAlerts.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
AuthorisedValues.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Biblio.pm Bug 29086: Simplify querying active article requests 2021-10-07 10:54:59 +02:00
Branches.pm Bug 29826: Manage call of Template Plugin Branches GetName() with null or empty branchcode 2022-03-04 09:59:38 -05:00
Cache.pm
…
Categories.pm Revert Bug 31421 2022-11-21 10:56:22 +01:00
CirculationRules.pm Bug 24154: (follow-up) Make parameter and variable more explicit, add tests 2021-05-10 10:27:53 +02:00
Context.pm Bug 23166: Early return if no set 2020-08-25 12:01:38 +02:00
Desks.pm Bug 24201: (QA follow-up) Remove unneeded use 2020-08-07 16:54:40 +02:00
HtmlId.pm Bug 27336: Add POD for new package 2021-01-11 10:27:37 +01:00
HtmlTags.pm
…
I18N.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
ItemTypes.pm Bug 29454: Use Koha Cache Memory Lite to stash itemtype descriptions for template plugin 2022-08-11 11:20:56 +02:00
Koha.pm Bug 31401: (QA follow-up) Remove Koha.ArePluginsEnabled, it is no longer needed 2022-11-14 14:46:30 +01:00
KohaDates.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
KohaPlugins.pm Bug 32539: Add exception handling to plugin hooks in template plugin 2023-02-17 14:10:14 +01:00
KohaSpan.pm
…
Languages.pm
…
Price.pm
…
Registers.pm Bug 24665: Add support for filtering by cash register 2020-11-06 15:55:17 +01:00
Remove_MARC_punctuation.pm
…
TablesSettings.pm Bug 17600: Remove wrong C4::Context imports 2021-09-20 14:44:27 +02:00
To.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
raw.pm
…