Bugzilla – Attachment 136681 Details for
Bug 31058
Bad import in auto_unsuspend_holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31058: Bug 17600 follow-up - import AutoUnsuspendHolds
Bug-31058-Bug-17600-follow-up---import-AutoUnsuspe.patch (text/plain), 1.10 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-06-28 12:34:51 UTC
(
hide
)
Description:
Bug 31058: Bug 17600 follow-up - import AutoUnsuspendHolds
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-06-28 12:34:51 UTC
Size:
1.10 KB
patch
obsolete
>From 567433699c5051461464671ec4d53b0a74f8e7e6 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 28 Jun 2022 10:06:57 +0000 >Subject: [PATCH] Bug 31058: Bug 17600 follow-up - import AutoUnsuspendHolds > >This patch corrects missing import > >To test: >1 - perl misc/cronjobs/holds/auto_unsuspend_holds.pl >2 - It dies >Undefined subroutine &main::AutoUnsuspendReserves called at misc/cronjobs/holds/auto_unsuspend_holds.pl line 38. >3 - Apply patch >4 - run again >5 - It succeeds! > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > misc/cronjobs/holds/auto_unsuspend_holds.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/holds/auto_unsuspend_holds.pl b/misc/cronjobs/holds/auto_unsuspend_holds.pl >index a0b3724c98..9db2b626fa 100755 >--- a/misc/cronjobs/holds/auto_unsuspend_holds.pl >+++ b/misc/cronjobs/holds/auto_unsuspend_holds.pl >@@ -23,7 +23,7 @@ use warnings; > # cancel all expired hold requests > > use Koha::Script -cron; >-use C4::Reserves; >+use C4::Reserves qw(AutoUnsuspendReserves); > use C4::Log qw( cronlogaction ); > > cronlogaction(); >-- >2.34.1
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 31058
:
136673
| 136681