[Koha-bugs] [Bug 30630] Checking in a waiting hold at another branch when HoldsAutoFill is enabled causes errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 28 09:46:44 CEST 2022


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

--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 134203
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134203&action=edit
Bug 30630: Prevent crash on check-in if HoldsAutoFill is ON

RevertWaitingStatus has already removed the itemnumber from the hold, passing
$itemnumber (from scanned item) should work, as it will reattach the hold to
the item

Test plan:
1 - Enable HoldsAutoFill
2 - Place a title level hold
3 - Check in an item and confirm hold
4 - Switch to another branch
5 - Checkin the item
Without this patch you got
Can't call method "biblionumber" on an undefined value at
/kohadevbox/koha/C4/Reserves.pm line 1577.
 at /kohadevbox/koha/C4/Reserves.pm line 1576
With this patch applied the operation succeeds

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


More information about the Koha-bugs mailing list