[Koha-bugs] [Bug 10243] Holds queue is making transfer requests that contradict the branch holds policy

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 14 22:09:38 CEST 2013


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

--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 18138
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18138&action=edit
Bug 10243 - Holds queue is making transfer requests that contradict the branch
holds policy - Alternate solution

For some reason MapItemsToHoldRequests will, as a last ditch effort,
grab what seems to be an arbitrary available item to fill a hold request,
even if it will violate the circulation rules for holds.

In other words, even if an item matches a "Holds policy by item type"
that says "From home library", a request to transfer that item to
another library will be added to the holds queue!

Test Plan:
1) Create a record with a an item at BranchA of item type BOOK
2) Set the holds policy such that itemtype BOOK for BranchA is set
   to "From home library"
3) Place a bib-level hold request for a patron with a pickup at
   BranchB
4) Run build_holds_queue.pl
5) You should now see a request for that item to be transfered to
   BranchB, even though the rules should not allow this.
6) Apply this patch
7) Run build_holds_queue.pl again
8) View the holds queue again, that request should no longer exist

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


More information about the Koha-bugs mailing list