The idea is, if there is no relevant circ for the item, only a status change is required. So if there's no circ, don't try and do anything associated with the circ.
To Test:
- Enable the circ.checkin.lost_zero_balance.do_not_change org unit setting.
Migrated item:
- Create an item in Evergreen with status Lost, Long Overdue, Lost and Paid. This simulates a migrated item with no associated circulation.
- Checkin the item to produce the error.
Aged circulation:
- Check out an item and mark it Lost.
- Pay the lost billing.
- Delete the patron (or age the circ)
- Checkin the item to produce the error.
Apply the patch, reproduce the steps above. The checkins will now clear the item's status.
Also checkin a Lost/Long Overdue/Lost and Paid item that has a relevant circ to see that it processes normally and obeys the org unit setting.
Here's a testing plan:
The idea is, if there is no relevant circ for the item, only a status change is required. So if there's no circ, don't try and do anything associated with the circ.
To Test:
- Enable the circ.checkin. lost_zero_ balance. do_not_ change org unit setting.
Migrated item:
- Create an item in Evergreen with status Lost, Long Overdue, Lost and Paid. This simulates a migrated item with no associated circulation.
- Checkin the item to produce the error.
Aged circulation:
- Check out an item and mark it Lost.
- Pay the lost billing.
- Delete the patron (or age the circ)
- Checkin the item to produce the error.
Apply the patch, reproduce the steps above. The checkins will now clear the item's status.
Also checkin a Lost/Long Overdue/Lost and Paid item that has a relevant circ to see that it processes normally and obeys the org unit setting.