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

--- Comment #20 from Olli-Antti Kivilahti <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to