Web client copy template editor includes deleted copy locations

Bug #1712922 reported by Jason Boyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

Eg 2.12.X

When using the Volume/Copy Editor in the web client the list of copy locations includes deleted locations, which will prevent copies from being saved.

Revision history for this message
Jason Boyer (jboyer) wrote :
tags: added: pul
tags: added: pullrequest
removed: pul
Changed in evergreen:
milestone: none → 3.0-alpha
Galen Charlton (gmc)
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Revision history for this message
Galen Charlton (gmc) wrote :

Tested and pushed to master and rel_2_12. Thanks, Jason!

Note that there's no database contraint that strictly prevents a copy from linking to a deleted location, so for items like that, the copy location selector will be blank. This is an uncommon situation, but Evergreen admins can identify such items by running the following query:

    select acp.id, acp.barcode, acpl.name
    from asset.copy acp
    join asset.copy_location acpl on (acpl.id = acp.location)
    where not acp.deleted
    and acpl.deleted
    order by acp.id;

Changed in evergreen:
milestone: 3.0-alpha → 2.12.6
status: New → Confirmed
assignee: Galen Charlton (gmc) → nobody
status: Confirmed → 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