Bug 29097

Summary: Overdue fines for lost items reinstated even when item returned on Fine Free mode
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: Fines and feesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 23091    
Bug Blocks:    

Description Andrew Fuerste-Henry 2021-09-23 13:44:48 UTC
To recreate:
- Set WhenLostChargeReplacementFee ON, WhenLostForgiveFine ON
- Set you refund lost item value to EITHER refund lost fee and charge a new overdue fine OR refund lost fee and restore overdue fine
- check an item out with a due date in the past, run the fines cron
- mark the item lost, confirm the overdue fine is forgiven and a lost fee is applied
- set checkin to Fine Free mode and check the item in
- confirm your lost fee is gone and your overdue is back

If the item is checked in on Fine Free mode, the fine should not come back. Or at least that should be a configurable option via a syspref. We have libraries set Fine Free on for all checkouts for amnesty periods. This sort of return of long-lost items is exactly what they're trying to incentivize with such a program.