Bugzilla – Attachment 192602 Details for
Bug 41781
Holds queue builder ( build_holds_queue.pl ) fails if HoldsQueueParallelLoopsCount is greater than 1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41781: Holds queue builder ( build_holds_queue.pl ) fails if HoldsQueueParallelLoopsCount is greater than 1
Bug-41781-Holds-queue-builder--buildholdsqueuepl--.patch (text/plain), 1.26 KB, created by
Marcel de Rooy
on 2026-02-06 10:35:48 UTC
(
hide
)
Description:
Bug 41781: Holds queue builder ( build_holds_queue.pl ) fails if HoldsQueueParallelLoopsCount is greater than 1
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2026-02-06 10:35:48 UTC
Size:
1.26 KB
patch
obsolete
>From 80df472e1e9c66a0e664a029a7bb12c3b39031e3 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 5 Feb 2026 16:10:59 -0500 >Subject: [PATCH] Bug 41781: Holds queue builder ( build_holds_queue.pl ) fails > if HoldsQueueParallelLoopsCount is greater than 1 >Content-Type: text/plain; charset=utf-8 > >If HoldsQueueParallelLoopsCount is set to a value greater than 1, build_holds_queue.pl will fail with the message: > >Can't locate object method "new" via package "Parallel::ForkManager" (perhaps you forgot to load "Parallel::ForkManager"?) at /kohadevbox/koha/C4/HoldsQueue.pm line 205. > >Test Plan: >1) Run misc/cronjobs/holds/build_holds_queue.pl >2) Note the error message >3) Run misc/cronjobs/holds/build_holds_queue.pl >4) Note the error message is gone! > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/HoldsQueue.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index 22f7f31054..c1d46954d1 100644 >--- a/C4/HoldsQueue.pm >+++ b/C4/HoldsQueue.pm >@@ -48,6 +48,7 @@ use Koha::Patrons; > use List::Util qw( shuffle ); > use List::MoreUtils qw( any ); > use Algorithm::Munkres qw(); >+use Parallel::ForkManager; > > =head1 FUNCTIONS > >-- >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 41781
:
192552
|
192575
| 192602