[Koha-bugs] [Bug 17461] Make plugins-home.pl complain about plugins that can not be loaded

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 8 02:03:22 CET 2017


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

Liz Rea <liz at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56620|0                           |1
        is obsolete|                            |

--- Comment #2 from Liz Rea <liz at catalyst.net.nz> ---
Created attachment 59997
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59997&action=edit
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 at 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!



 Current patch-complexity: Trivial patch

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


More information about the Koha-bugs mailing list