[Koha-bugs] [Bug 21168] Error on circ/returns.pl after deleting checked-in item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 24 19:36:32 CEST 2018


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #77715|0                           |1
        is obsolete|                            |

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 78146
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78146&action=edit
Bug 21168: Handle deleted checked-in items on checking in

circ/returns.pl generates a server error when attempting to checkin an item
while
the list of previously-returned items contains an item that has been deleted.
Error text: Can't call method "biblio" on an undefined value at
/usr/share/koha/intranet/cgi-bin/circ/returns.pl line 606.

Test plan:
- checkout two items
- checkin item1
- on a separate tab, delete item1
- on the original tab (which still shows item1 in the list of Checked-In
Items), attempt to check in item2
=> No error appears

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list