Bugzilla – Attachment 192575 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.16 KB, created by
Lucas Gass (lukeg)
on 2026-02-05 22:18:31 UTC
(
hide
)
Description:
Bug 41781 - Holds queue builder ( build_holds_queue.pl ) fails if HoldsQueueParallelLoopsCount is greater than 1
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-02-05 22:18:31 UTC
Size:
1.16 KB
patch
obsolete
>From c3bef6ef15fc0af2af6ef67394f8c379f7c95f71 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 > >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> >--- > C4/HoldsQueue.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm >index 22f7f310541..c1d46954d1d 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.47.3
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