[Koha-bugs] [Bug 31074] Cached plugin code is used in Koha even after changes to plugin (install/upgrade/uninstall)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 1 00:05:36 CET 2023


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

--- Comment #31 from David Cook <dcook at prosentient.com.au> ---
So there's another problem with the concept of automatically reloading Starman
on install/upgrade/uninstall.

The "background_tasks" hook is run in background_jobs_worker.pl which also
loads plugin code. When installing/upgrading/uninstalling a plugin with this
hook, you need to restart Starman *and* all affected background job workers. 

I suppose my idea 1 from
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31074#c19 might be
able to take care of that scenario, but it would still be complicated.

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


More information about the Koha-bugs mailing list