Aging Circulations Removes Auto-Renewal Information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
3.2 |
Fix Released
|
High
|
Unassigned | ||
3.3 |
Fix Released
|
High
|
Unassigned |
Bug Description
Evergreen 3.2.4
When circulations are aged, (i.e. anonymized), auto-renewal information is stripped from the circulation.
The fields
auto_renewal
auto_renewal_
are reverting to a NULL state.
This means aged auto-renewals cannot be identified so circulation stats are being thrown off.
At the time of writing this is compounded by the fact that auto-renewals register as both desk and auto-renewals, (see LP Bug #1835085). So for now, auto-renewals are leaving rows in aged_circulation where desk_renewal is TRUE and workstation IS NULL and auto_renewal IS NULL. This is also how self-check renewals are registered for some libraries.
Given that both aging circulations and auto-renewals are turned on in a system, this query can be run to confirm there is no auto-renewal information appearing in the aged_circulation table.
SELECT *
FROM action.
WHERE auto_renewal=TRUE OR auto_renewal_
Changed in evergreen: | |
status: | New → Confirmed |
Changed in evergreen: | |
milestone: | none → 3.4-beta1 |
assignee: | nobody → Jason Stephenson (jstephenson) |
Changed in evergreen: | |
status: | Confirmed → In Progress |
Changed in evergreen: | |
milestone: | 3.4-beta1 → 3.4-beta2 |
Changed in evergreen: | |
milestone: | 3.4-beta2 → 3.4-rc |
status: | Fix Committed → Fix Released |
The action. age_circ_ on_delete( ) trigger function does not copy the auto_renewal and auto_renewal_ remaining field values to the action. aged_circulatio n table. The fix appears to be to make it do so.