[Koha-bugs] [Bug 35603] Add plugin feature to allow plugins to warn if any external library modules needed are missing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 19 17:33:48 CET 2023


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Signed Off

--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Testing using my in-development crontab plugin with a 'conditional_load'
branch:
https://github.com/PTFS-Europe/koha-plugin-crontab/tree/conditional_load

I'm catching the missing module during the install method and returning false
there. This allows plugin_methods to be properly set and the plugin files to
remain on the system whilst preventing the __INSTALLED__ flag being set.

This means that whilst the plugin seen by Koha, it's marked with an error and
displays the missing module information.. once the module is installed, the
install sub runs to completion and the plugin works as expected :)

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


More information about the Koha-bugs mailing list