https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30630 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Checking in a waiting hold |Checking in a waiting hold |at another branch \ when |at another branch when | |HoldsAutoFill is enabled | |causes errors Depends on| |23070 --- Comment #1 from Nick Clemens <nick@bywatersolutions.com> --- To recreate: 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, get an error: 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 6- This causes lingering issues because the hold is now in-transit but has no itemnumber Root seems to be in circ/returns.pl: 477 ModReserveAffect( $reserve->{itemnumber}, $reserve->{borrowernumber}, $diffBranchSend, $reserve->{reserve_ id}, $desk_id ); 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 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23070 [Bug 23070] Use Koha::Hold in C4::Reserves::RevertWaitingStatus -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.