Applying template to new holdings fails to create item note
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
When *adding* holdings, if you apply a template that includes one or more item notes, the note(s) is not created (e.g. no row is added to the asset.copy_notes table). There is no indication that the note has not been assigned to the item. In order to add the note it is necessary to *edit* the holdings and to re-apply the template.
Steps to recreate:
In the web client, retrieve a bib record
Select “Add Holdings”
Enter a call number and barcode (as well as prefix and suffix, as appropriate)
Select an item template that includes an item note
Click “Apply”
Click “Save and exit”
Next:
Edit the same item
In the holdings editor, select “Item Notes” (No note will display)
Apply the same template as before
Click “Save & Exit”
Next:
Edit the item again
In the holdings editor, select “Item Notes” (The note will display)
EG 3-2-9
Chrome Version 77.0.3865.120
I am marking as a duplicate of bug https:/ /bugs.launchpad .net/evergreen/ +bug/1832735 because Josh's code fixes both bugs.