Koha-clms/Koha/ILL
Pedro Amorim fde180efbf 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 <pedro.amorim@ptfs-europe.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 7e336006c2)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-12-05 21:34:24 +00:00
..
Batch Bug 35581: Koha::Illrequest::Logger -> Koha::ILL::Request::Logger 2024-04-22 08:57:44 +02:00
Request Bug 37872: Consider enable_plugins = 0 when fetching plugin backends 2024-12-05 21:34:24 +00:00
Backend.pm Bug 34838: Only call strings_map if status_alias is not undef in status_alias cycle 2024-06-27 16:21:39 +00:00
Batch.pm Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
Batches.pm Bug 35581: Koha::*Illbatch* -> Koha::*ILL::*Batch* 2024-04-22 08:57:41 +02:00
Comment.pm Bug 35581: Koha::Illcomment* -> Koha::ILL::Comment* 2024-04-22 08:57:42 +02:00
Comments.pm Bug 35581: Koha::Illcomment* -> Koha::ILL::Comment* 2024-04-22 08:57:42 +02:00
Request.pm Bug 37872: Consider enable_plugins = 0 when fetching plugin backends 2024-12-05 21:34:24 +00:00
Requests.pm Bug 37389: (QA follow-up) Tidy 2024-08-29 17:42:21 +00:00