[Koha-bugs] [Bug 25690] SIP should not allow to check out an item in transfer because of a hold to another patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 18 17:29:04 CET 2021


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

--- Comment #11 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 117003
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117003&action=edit
Bug 25690: Make CanBookBeIssued return In Processing state as needing
confirmation

This prevents checking out to a patron an item with hold to someone
else in the In Processing state via staff interface.

Also the checkout error message via SIP is now a more clearer one: "Item is
on hold for another patron." Before it was "Item cannot be issued:
$confirmation".

Also the branch transfer and batch checkout pages are adapted to this new
confirmation message as well.

To test:
 1) Create bib level hold to an item for patron A
 2) Check-in that item via SIP2, now the hold state should be "In processing"
 3) Apply patch
 4) Try to checkout the item to patron B via staff interface and
    notice we get now confirmation prompt do we really want to do it
    because it is in processing.

 In order to not have to setup SIP2 server, alternatively steps 1) and
 2) can be done so that you check-in the item in staff interface and
 make it Waiting, and then with SQL change it to "In processing":

 UPDATE reserves SET found = "P" WHERE reserve_id = XXX;
 UPDATE reserves SET waitingdate = NULL WHERE reserve_id = XX
 UPDATE reserves SET expirationdate = NULL WHERE reserve_id = XXX;

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


More information about the Koha-bugs mailing list