[Koha-bugs] [Bug 19081] Plack preventing uninstalled plugins from being removed on the plugins list
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 28 22:39:58 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19081
Lee Jamison <ldjamison at marywood.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #66561|0 |1
is obsolete| |
--- Comment #4 from Lee Jamison <ldjamison at marywood.edu> ---
Created attachment 66566
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66566&action=edit
Bug 19081: Do not list plugins that have been uninstalled
Under plack, can_load should not check if a package is in cache, but
reload it. Otherwise plugins that have been uninstalled will still get
listed.
The error raised by can_load must only be displayed if the plugin has
been removed.
Test plan:
1/ Upload a plugin
2/ Note the plugin is listed as installed
3/ Modify the package of the plugin to add a compilation error (use
'Foo' for instance)
4/ Reload the page
5/ The plugin is not listed and a warning appear in the logs
6/ Remove the compilation error and uninstall the plugin
7/ The plugin is no longer listed and no warning appear in the logs
Signed-off-by: Lee Jamison <ldjamison at marywood.edu>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list