Marc batch edit replace not properly adding indicators
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Triaged
|
Undecided
|
Unassigned |
Bug Description
This was tested in 2.1 and 2.2.
When doing a MARC batch edit, and replacing a MARC field, the indicators are not being set correctly, resulting in an error. The screen will show an "Internal Server Error". The logs will show something like,
ERROR: Field 590 must have indicators (use ' ' for empty indicators)
The update string looks like this,
=590 \\$a aLibrary has bound copy in Archives
Maybe the backslashes need to be doubled?
=590 \\\\$a aLibrary has bound copy in Archives
Right now even manually trying to put it in will result in the tag just duplicating itself,
For example,
=590 \\$a\\$a aLibrary has bound copy in Archives
On the same note, you also cannot delete just specific subfields. You can only delete complete MARCS. If you enter in an subfield value using the delete option, an error is also triggered.
Changed in evergreen: | |
status: | New → Incomplete |
Changed in evergreen: | |
status: | Incomplete → Triaged |
tags: | added: cataloging |
tags: | added: batchedit silentfailure |
tags: | removed: webstaffclient |
tags: |
added: cat-batchedit removed: batchedit |
Tested the replacement part of this in the web client 3.2.2, and there's still something weird going on, but I'm not sure if what I see confirms this bug or is its own thing.
I set it up to replace a 250 in one specific record, and used \\ to represent the indicators.
When I clicked GO, the progress bar just hangs (indefinitely? at least 3-4 minutes till I closed the window) and the status will show:
Success undefined
Failure undefined
Total Processed NaN
and the console blows up with a bunch of 404s looking for files in js/dojo directories -- paste here: https:/ /pastebin. com/qrF1jiP1