Extending circ due date can result in exceeding max fines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
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.
Changed in evergreen: | |
milestone: | 3.5.2 → 3.6.1 |
Changed in evergreen: | |
milestone: | 3.6.1 → 3.6.2 |
Changed in evergreen: | |
milestone: | 3.6.2 → 3.6.3 |
Changed in evergreen: | |
milestone: | 3.6.3 → 3.6.4 |
Changed in evergreen: | |
milestone: | 3.6.4 → 3.7.2 |
Changed in evergreen: | |
assignee: | nobody → Terran McCanna (tmccanna) |
Changed in evergreen: | |
assignee: | Terran McCanna (tmccanna) → nobody |
tags: |
added: circ-billing removed: billing |
no longer affects: | evergreen/3.4 |
no longer affects: | evergreen/3.5 |
Changed in evergreen: | |
milestone: | 3.7.2 → 3.7.3 |
no longer affects: | evergreen/3.6 |
Changed in evergreen: | |
milestone: | 3.7.3 → none |
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.