Bugzilla – Attachment 57094 Details for
Bug 17539
t/db_dependent/Reserves.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17539: Fix Undefined subroutine &C4::Circulation::GetItem error
Bug-17539-Fix-Undefined-subroutine-C4CirculationGe.patch (text/plain), 1.38 KB, created by
Lari Taskula
on 2016-11-02 13:31:30 UTC
(
hide
)
Description:
Bug 17539: Fix Undefined subroutine &C4::Circulation::GetItem error
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2016-11-02 13:31:30 UTC
Size:
1.38 KB
patch
obsolete
>From bb812de48173e1ced79a4baf9816e8f1b257f9e4 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@jns.fi> >Date: Wed, 2 Nov 2016 14:51:23 +0200 >Subject: [PATCH] Bug 17539: Fix Undefined subroutine &C4::Circulation::GetItem > error > >perl t/db_dependent/Reserves.t > >1..72 >ok 1 - use C4::Reserves; >ok 2 - CheckReserves Test 1 >ok 3 - CheckReserves() include reserve_id in its response >ok 4 - CheckReserves Test 2 >ok 5 - CheckReserves Test 3 >ok 6 - GetReservesControlBranch returns item home branch when set to ItemHomeLibrary >ok 7 - GetReservesControlBranch returns patron home branch when set to PatronLibrary >ok 8 - Item is correctly waiting >ok 9 - Item is correctly priority 1 >ok 10 - Item is correctly priority 2 >ok 11 - GetWaiting got only the waiting reserve >ok 12 - GetWaiting got the reserve for the correct borrower >Undefined subroutine &C4::Circulation::GetItem called at /home/ubuntu/kohaclone/C4/Circulation.pm line 1853. > >This patch fixes this error. The solution was to use C4::Reserves before C4::Items. >--- > t/db_dependent/Reserves.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t >index 39ee8c5..751ae01 100755 >--- a/t/db_dependent/Reserves.t >+++ b/t/db_dependent/Reserves.t >@@ -25,6 +25,7 @@ use MARC::Record; > use DateTime::Duration; > > use C4::Biblio; >+use C4::Reserves; > use C4::Items; > use C4::Members; > use C4::Circulation; >-- >1.9.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 17539
:
57094
|
57095
|
57096
|
57127
|
57128
|
57129
|
57134
|
57135
|
57136
|
57137
|
57151
|
57152
|
57153
|
57154
|
57155