[Koha-bugs] [Bug 7376] Transfer limits should be checked at check-in

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 4 10:56:19 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7376

--- Comment #20 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Test case parameters:
-----------------------------
* UseBranchTransferLimits must be set

* define your branch transfer limit.
  IPT -> CPL -> FFL -> IPT

Test case 1, transfer is not allowed:
-----------------------------

* move the librarian to IPT ("Set Library" link top/right)

* check-out an item, with homebranch IPT

* move the librarian to CPL ("Set Library" link top/right)

* FAIL check-in the item => Book check-in fails, but the template is incorrect
(Attachment: When failing UseBranchTransferLimits-check, don't display the
"Thanks for returning this book"-message.)
  OK (check-in fails): Item's checkout status still "Checked out to Olli-Antti2
Kivilahti2, Due back on 11/01/2013"


Test case 2, transfer is allowed:
---------------------------------

* move the librarian to IPT ("Set Library" link top/right)

* check-out an item, with homebranch IPT

* move the librarian to FFL ("Set Library" link top/right)

* OK check-in succeeds and printing a transfer slip is proposed.
  Item's checkout status:  undef


Test conclusion:
--------------------------------
Covered:
Item checkout status changes (Checked out, undef)
Transfer limits (Allow transfer?, true, false)
Template in circ/returns.pl

Test fails the template check, otherwise OK.


Note:
---------------------------------
Should test for SIP2 as well, but probably it works ok, since AddReturn returns
false when BranchTransferLimits check fails.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list