[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
Mon Feb 13 16:32:42 CET 2012


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

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #7 from Paul Poulain <paul.poulain at biblibre.com> 2012-02-13 15:32:42 UTC ---
I just made a test again on my testing database, and I get, as expected, the
result:

Cannot Check In
This item must be checked in at its home library. NOT CHECKED IN


Here is my setup:
* IndependantBranches = OFF (I also tested with IndependantBranches=ON, same
behaviour, as expected)
* UseBranchTransferLimits & BranchTransferLimitsType = Enforce branch transfer
limits based on Itemtype
* in admin/branch_transfer_limit.pl = everything is unselected, in all branches
* memcache is OFF, that's important, otherwise, when testing you can see bad
results just because you get the cached version of the data, not the uptodate)
* HomeOrHoldingBranchReturn     On checkin route the returned item to the
library the item was checked out from (should not matter, but just in case)
* item-level_itypes is set to biblio record (that may be important)

Could you add
warn "==> branchtransferlimitvalue";
just BEFORE the line
    if (($hbr ne $branch && C4::Context->preference("IndependantBranches")) or
(!IsBranchTransferAllowed($hbr, $branch, $branchtransferlimitvalue ))) {

It will show which flag is used for checking the branchtransfer

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list