[Koha-bugs] [Bug 30114] Koha offline circulation will always cancel the next hold when issuing item to a patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 7 15:49:41 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30114

--- Comment #6 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 131441
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131441&action=edit
Bug 30114: Koha offline circulation will always cancel the next hold when
issuing item to a patron

If a record has holds on it, and, using offline circulation, an item on
that is checked out to a patron that did not have a hold on the record,
the next hold that would have trapped that item will be canceled.

1) Place two bib level holds on an item for two patrons
2) Find a third patron, note his or her cardnumber
3) Create the file test.koc by copying and pasting the following into a
   text editor

Version=1.0     Generator=kocTest       GeneratorVersion=0.7
2008-06-11 12:24:11 547 issue   PATRONCARDNUMBER        ITEMBARCODE

note the fields are tab delemited, ensure the tabs do not get lost
when copying and pasting!

4) Upload the offline circ action, and commit the action
5) Note the item was checked out to the third patron
6) Note one of the other patron's holds were canceled
7) Reset your database
8) Apply this patch
9) Test again, no hold should be canceled!

Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list