]> git.koha-community.org Git - koha.git/commit
Bug 17461: Warn about plugins that can't be loaded
authorMagnus Enger <magnus@libriotech.no>
Tue, 18 Oct 2016 09:47:19 +0000 (09:47 +0000)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 19 Feb 2017 20:58:17 +0000 (21:58 +0100)
commitd204482b5e801e47bb516ece52f0596cc14c2aea
tree2082413f5e82403cf6ff2d27992fb425081eb951
parent44e4772c428300c45bd477a0fe8cde7d33167a3e
Bug 17461: Warn about plugins that can't be loaded

The logs should have some info if a module has been installed that can
not be loaded.

To test:
- Make sure you have an up to date dev install
- Install v1.0 of the KitchenSink plugin from
  https://github.com/bywatersolutions/koha-plugin-kitchen-sink/releases
- Make sure the plugin does not show up in the list of installed
  plugins, and that the intranet-error.log has no info about it
- Apply the patch
- Reload plugins-home.pl
- Verify that there is now some interesting info in intranet-error.log

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Works as advertised, generates useful diagnostic information in the form of a log entry to either intranet-error or plack-error.log. Relief, thanks Magnus!
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 830786aba7084698c081a3f7745fe0fe54643c18)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Koha/Plugins.pm