Purge Circulations function does not work and has other issues

Bug #1015299 reported by Thomas Berezansky
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned

Bug Description

Due to a type issue (bigint doesn't auto-convert to integer) the purge circulations function does not appear to work currently.

In addition I discovered that it could potentially delete circulations that are open and would leave circulations that should be purged alone when other circulations overshadowed them.

The branch below contains a series of commits to fix the various issues I found, including adding some settings to determine new behavior where I disagreed with the current behavior but was told the current behavior was desired.

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/purge_circulations_updates

Tags: pullrequest
Changed in evergreen:
milestone: none → 2.3.0-alpha2
Changed in evergreen:
milestone: 2.3.0-alpha2 → 2.3.0-beta1
Changed in evergreen:
milestone: 2.3.0-beta1 → 2.3.0-beta2
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.3.0-beta2 → 2.3.0-rc1
Changed in evergreen:
milestone: 2.3.0-rc1 → 2.3.0
Changed in evergreen:
milestone: 2.3.0 → 2.3.1
Changed in evergreen:
milestone: 2.3.1 → 2.4.0-alpha
Changed in evergreen:
status: New → Triaged
Changed in evergreen:
status: Triaged → Confirmed
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.4.0-alpha1 → 2.4.0-beta
Changed in evergreen:
assignee: nobody → Jason Stephenson (jstephenson)
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.4.0-beta → 2.4.0-rc
Changed in evergreen:
status: Confirmed → In Progress
Revision history for this message
Jason Stephenson (jstephenson) wrote :

I thought that I was going to get to this by this past weekend, but I have been sick and so I did not. I am removing myself as assignee so someone else can have a look if they want. I don't know when I'll be able to get to this as I have a number of other things coming up.

Changed in evergreen:
status: In Progress → Confirmed
assignee: Jason Stephenson (jstephenson) → nobody
Revision history for this message
Jason Stephenson (jstephenson) wrote :

All right. This is working for me, so I signed off on Thomas's commits and pushed to a collab branch.

I didn't push to master because I added a commit to create a purge_circulations.srfsh script, and I figure someone else ought to sign off on that and push it.

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/collab/dyrcona/purge_circulations_updates

Ben Shum (bshum)
Changed in evergreen:
milestone: 2.4.0-rc → none
Ben Shum (bshum)
Changed in evergreen:
milestone: none → 2.5.0-m1
Revision history for this message
Dan Wells (dbw2) wrote :

Signed off on last commit and pushed the whole thing to master. Backporting is still a TODO, for now.

Thanks again, Jason and Thomas.

Changed in evergreen:
status: Confirmed → Fix Committed
Revision history for this message
Dan Wells (dbw2) wrote :

P.S. I am assigning myself to the backports, so I don't forget, but if anyone else wants to do it, please feel free!

Ben Shum (bshum)
Changed in evergreen:
status: Fix Committed → Fix Released
no longer affects: evergreen/2.4
no longer affects: evergreen/2.3
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.