Bug 29096 - Removing a lost status via item edit refunds lost fee without reinstating overdue fine
Summary: Removing a lost status via item edit refunds lost fee without reinstating ove...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 23091
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-23 13:41 UTC by Andrew Fuerste-Henry
Modified: 2021-09-23 13:41 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2021-09-23 13:41:30 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
- edit the item to remove the lost status
- confirm the lost status is refunded but the overdue fine hasn't returned

We're removing the lost fee on the assumption that we've found the item and therefore the patron doesn't owe us the replacement anymore. That assumption should also result in restoring/re-charging the overdue fine.