Circulations anonymized via user purge missing post code

Bug #1394356 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
2.6
Fix Released
Undecided
Unassigned

Bug Description

Evergreen 2.6+

Circulations which are anonymized (action.aged_circulation) as a result of the user purge functionality (Patron -> Other -> Delete Patron Account) do not contain the users's post code value.

The circ aging process gets the "usr_post_code" value by inspecting the mailing/billing address on the user, but those fields are set to NULL during patron purge before the user's circulations are deleted (aged).

Batch circ anonymization via action.purge_circulations() does not have the same issue.

Tags: pullrequest
Revision history for this message
Michele Morgan (mmorgan) wrote :

Confirming this bug. We are on 2.6.2 and our action.aged_circulation table contains ~60,000 rows solely resulting from deleting patron accounts. action.all_circulation.usr_post_code is NULL in every row.

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Bill Erickson (berick) wrote :
Changed in evergreen:
milestone: none → 2.next
milestone: 2.next → 2.7.2
tags: added: pullrequest
Revision history for this message
Ben Shum (bshum) wrote :

Picked to master, rel_2_7, and rel_2_6.

Changed in evergreen:
status: Confirmed → Fix Committed
Galen Charlton (gmc)
Changed in evergreen:
status: Fix Committed → Fix Released
Revision history for this message
Ben Shum (bshum) wrote :

Gah, apparently the upgrade script (number 0901) was lost during commit work and this did not actually make it into the targeted milestones.

Reassigning to the next maintenance releases.... sorry folks.

Changed in evergreen:
milestone: 2.7.2 → 2.7.3
status: Fix Released → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.