]> git.koha-community.org Git - koha.git/commit
Bug 25549: Remove plugin methods for broken plugins
authorNick Clemens <nick@bywatersolutions.com>
Wed, 20 May 2020 11:12:12 +0000 (11:12 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 13 Nov 2020 16:20:49 +0000 (16:20 +0000)
commitbd2347fbf85083fe6204dcaaf1cc98826219eaed
tree73fadd4c7fa375f9dd8dae5f30dfa9321636eaec
parentc3f61d3bd9792f4bb535401748fd614579378e54
Bug 25549: Remove plugin methods for broken plugins

To test:
 1 - Enable plugins in the koha-conf
 2 - Install the kitchen sink plugin
 3 - Your staff client should be orange now :-)
 4 - edit the plugin module
     /var/lib/koha/kohadev/plugins/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm
 5 - Add a line to break compilation, like:
     this won't compile
 6 - Restart all
 7 - Your koha is now broken
 8 - kshell
 9 - perl misc/devel/install_plugins.pl
10 - Restart all
11 - Koha remains broken
12 - Apply patch
13 - kshell
14 - perl misc/devel/install_plugins.pl
15 - Koha now works!
16 - Koha is not orange because the plugin methods are removed

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 0eae966d257fa2ecc6a6506e2515691e092a701c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Plugins.pm
misc/devel/install_plugins.pl