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

--- Comment #8 from Pedro Amorim <[email protected]> ---
Created attachment 173619
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173619&action=edit
Bug 37872: Consider enable_plugins = 0 when fetching plugin backends

This patch builds on top of Andreas patch checking for Koha::Plugins->new()
instead as the enable_plugins is already done there.
It also adds a check in reply to Joubu's observation, which is indeed an
additional bug.

Test plan:
1) Apply tests patch. Run the tests. Notice it fails
2) Apply the remaining patches. Run the tests. Notice they pass.

Additional (and better) tests can be written, but for now I think this is good
enough.
Additional tests should be written on top of bug 36197 (which adds a dummy ILL
backend plugin for testing), at:
https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=36197&attachment=171371

Signed-off-by: Pedro Amorim <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to