Bugzilla – Attachment 181242 Details for
Bug 39092
When loading an ILL backend plugin it should be cached
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39092: (follow-up) Do not look for plugins if Standard backend used
Bug-39092-follow-up-Do-not-look-for-plugins-if-Sta.patch (text/plain), 1.16 KB, created by
Pedro Amorim
on 2025-04-22 10:05:37 UTC
(
hide
)
Description:
Bug 39092: (follow-up) Do not look for plugins if Standard backend used
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-04-22 10:05:37 UTC
Size:
1.16 KB
patch
obsolete
>From a61eb1a8dd591174a465579c3da7f5cb5671dbfe Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 11 Feb 2025 11:15:16 -0300 >Subject: [PATCH] Bug 39092: (follow-up) Do not look for plugins if Standard > backend used > >If we've been asked the `Standard` backend we shouldn't be trying to >load plugins. > >Trivial refactoring of the order things are done. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk> >--- > Koha/ILL/Request.pm | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/Koha/ILL/Request.pm b/Koha/ILL/Request.pm >index 06cf48e229c..af402fb252e 100644 >--- a/Koha/ILL/Request.pm >+++ b/Koha/ILL/Request.pm >@@ -483,8 +483,12 @@ sub load_backend { > logger => Koha::ILL::Request::Logger->new > }; > >- # Find plugin implementing the backend for the request >- my $plugin = $self->get_backend_plugin($backend_name); >+ my $plugin; >+ if ( $backend_name ne 'Standard' ) { >+ >+ # Find plugin implementing the backend for the request >+ $plugin = $self->get_backend_plugin($backend_name); >+ } > > if ( $backend_name eq 'Standard' ) { > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39092
:
177735
|
177736
|
177737
|
177738
|
181127
|
181128
|
181129
|
181130
|
181200
|
181201
|
181202
|
181203
|
181240
|
181241
| 181242 |
181243