Adding the same new part to more than one item can cause part creation to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned | ||
3.10 |
Confirmed
|
Undecided
|
Unassigned | ||
3.11 |
Confirmed
|
Undecided
|
Unassigned | ||
3.9 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Evergreen 3.9+
When adding parts to existing items you may want to add the same part to multiple items at once. This works fine so long as the part already exists, but if you're creating the part new your holdings editor tab will stop responding as it fails to handle an INSERT error caused by trying to create the same part a second time.
Example:
Open bib 2 in a Concerto dataset
Edit the call number at a location with multiple copies
Add the same new part name to 2 items
Click apply all and Save
The progress bar never stops bouncing and the parts are not created.
The backend batch process that creates the new parts should be updated to check new part names against each other as they're being created.
Changed in evergreen: | |
milestone: | none → 3.next |
no longer affects: | evergreen/3.11 |
Changed in evergreen: | |
status: | New → Confirmed |
tags: | added: cataloging |
tags: | added: signedoff |
Changed in evergreen: | |
assignee: | Mary Llewellyn (mllewell) → nobody |
tags: |
added: needswork removed: pullrequest |
tags: | added: cat-parts |
Changed in evergreen: | |
milestone: | 3.next → 3.12-beta |
And here's a branch that lets you add the same new part(s) to as many items as you can stand: /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jboyer/ lp2007284_ parts_parts_ parts / working/ user/jboyer/ lp2007284_ parts_parts_ parts
https:/