From a0a43fa3eadf3b6e3442f8fd578529a5b38b9053 Mon Sep 17 00:00:00 2001 From: Jacek Ablewicz Date: Fri, 25 Jul 2014 10:56:52 +0200 Subject: [PATCH] Bug 12662 - Ajax-based check in does not work for some system preference settings enabled To reproduce: - enable "InProcessingToShelvingCart" or "ReturnToShelvingCart" system preference, - for a sample patron with 1+ checkouts, try to check in some item[s] using checkboxes in the "Check in" column in the checkouts table which is displayed in the "Check out" or "Details" patron account tabs, - observe that clicking "Renew or return checked items" button only results in ajax "spinning wheel" stuck in infinite loop; check-in operation is not performed. To test: - follow the steps above to reproduce this bug - apply patch - redo the test; ensure that this issue is no longer reproductible. Signed-off-by: Jonathan Druart --- svc/checkin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/checkin b/svc/checkin index 000ddbc..d0fbd75 100755 --- a/svc/checkin +++ b/svc/checkin @@ -23,7 +23,7 @@ use CGI; use JSON qw(to_json); use C4::Circulation; -use C4::Items qw(GetBarcodeFromItemnumber); +use C4::Items qw(GetBarcodeFromItemnumber GetItem); use C4::Context; use C4::Auth qw(check_cookie_auth); -- 2.0.0.rc2