[Koha-bugs] [Bug 25549] Broken plugins should not break Koha (Install plugin script/method should highlight broken plugins)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 16 07:38:30 CEST 2020


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

--- Comment #16 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Katrin Fischer from comment #15)
> Should the change in Plugins.pm be covered by a regression test?
> 

Probably, though I'm not entirely sure how to write one off the top of my head.

> I think it would be nice if we offered the uninstall option for broken
> plugins.  Otherwise you are stuck with them forever until you can get
> someone on your server to remove them.

This is more difficult: The uninstall button actually calls an uninstall method
from within the plugins themselves to allow for some cleanup that's plugin
specific. If we wanted to expose something for broken plugins we would need to
write a specific method for it and it would be more of a 'Partial remove' than
an uninstall.. we would likely be left with data in the database as there's no
easy way we could tell where the plugin put it's data.  I think leave that one
for another bug 😉

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


More information about the Koha-bugs mailing list