Reusing deleted monograph parts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.10 |
Fix Released
|
Medium
|
Unassigned | ||
2.9 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
EG 2.9+
Recently monograph parts were changed to have a deleted flag rather than being permanently deleted from the biblio.
A side problem with this, is that once a part is deleted, you cannot re-create that same part label due to the unique constraints on the table.
"record_
When trying to re-add a monograph part that already exists in deleted form, EG does not error nicely. Instead it just freezes and waits for a response from the database that never comes due to an insert error on the back end.
It looks to me like the constraint should be changed to take into account deleted items. Maybe something like this,
biblio.
"record_
Changed in evergreen: | |
status: | New → Confirmed |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Changed in evergreen: | |
milestone: | 2.next → 2.11-alpha |
This is my proposed fix,
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/collab/ Callender/ monograph_ parts_delete_ constraint
Steve