Bugzilla – Attachment 182894 Details for
Bug 40033
The background jobs page calls GetPlugins incorrectly, resulting in a 500 error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40033: Call GetPlugins correctly in background_jobs.pl
Bug-40033-Call-GetPlugins-correctly-in-backgroundj.patch (text/plain), 1.08 KB, created by
David Cook
on 2025-06-02 01:09:10 UTC
(
hide
)
Description:
Bug 40033: Call GetPlugins correctly in background_jobs.pl
Filename:
MIME Type:
Creator:
David Cook
Created:
2025-06-02 01:09:10 UTC
Size:
1.08 KB
patch
obsolete
>From 19563f5fe906d178a5107164c47fb20dc027636c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Tadeusz=20=E2=80=9Etadzik=E2=80=9D=20So=C5=9Bnierz?= > <tadeusz@sosnierz.com> >Date: Fri, 30 May 2025 13:14:07 +0200 >Subject: [PATCH] Bug 40033: Call GetPlugins correctly in background_jobs.pl > >Test plan: > >1. Install a plugin that does not have any background_tasks, e.g. https://github.com/HKS3/HKS3GeoSearch/releases/tag/v0.12 >2. Navigate to http://localhost:8081/cgi-bin/koha/admin/background_jobs.pl, observe a 500 >3. Apply patch >4. Observe no 500 > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > admin/background_jobs.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/background_jobs.pl b/admin/background_jobs.pl >index 275e8bcb89..d1ce61e33e 100755 >--- a/admin/background_jobs.pl >+++ b/admin/background_jobs.pl >@@ -79,7 +79,7 @@ $template->param( > op => $op, > ); > >-my @plugins = Koha::Plugins::GetPlugins( >+my @plugins = Koha::Plugins->new()->GetPlugins( > { > method => 'background_tasks', > } >-- >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 40033
:
182856
|
182886
| 182894