a couple more queries should check for deleted copy locations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Low
|
Unassigned |
Bug Description
The patch for bug 1210541 introduces a new deleted flag column in the asset.copy_location table. That patch adds checks on that flag as needed, but there are a couple spots left where that check should be added:
OpenILS:
Even though other TPAC code has the effect of filtering out any items whose copy location is marked as deleted, the query in this routine should also filter out such items for the sake of consistency.
OpenILS:
As another bit of defensive coding, items whose copy location is deleted should be excluded.
One thing to note is that while there *shouldn't* be undeleted copies attached to deleted copy locations, there isn't at present a DB constraint in place that enforces that. Consequently, adding filters on acpl.deleted in all the relevant queries would add some defensive programming.
Evergreen master
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
A patch is available at the tip of the user/gmcharlt/ lp1423813_ more_acpl_ deleted_ filters branch in the working/Evergreen repository:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ gmcharlt/ lp1423813_ more_acpl_ deleted_ filters