Extending circ due date can result in exceeding max fines

Bug #1786312 reported by Bill Erickson on 2018-08-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Undecided
Unassigned

Bug Description

Confirmed in Evergreen 2.12 and 3.1.

Steps to reproduce:

1. Find a circulation which is actively accruing overdue fines, but has not reached max fines.

2. Staff modifies the due date to be some time in the future via the "Edit Due Date" action in the staff client.

3. Once the new due date is exceeded, the circulation will start accruing overdue fines again.

4. The fine generator will keep adding overdue fines as if the original overdues didn't exist, ultimately resulting in overdues totaling the original (pre-due date extended) overdues plus the max fine amount.

==

To approximate in concerto:

1. Run the fine generator.
2. Note circ ID 7 has a max fine amount of $0.70 and total billed of $0.70.
3. Set stop_fines and stop_fines_time to NULL on circ ID 7 (or find a circ that's still accruing).
4. Run the fine generator again.
5. Now circ ID 7 have a max_fine setting of $0.70 and a total billed amount of $1.40.

Bill Erickson (berick) wrote :

IRC discussion for reference:

http://irc.evergreen-ils.org/evergreen/2018-08-09#i_371513

The gist is we want to continue the practice of resuming overdues after the newly applied due_date without back-filling overdues, however we also want to know the amount billed as overdue fines from all existing fines before applying new ones, not just those that were created after the new due date.

Blake GH (bmagic) wrote :

Confirmed

Changed in evergreen:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers