Comment 3 for bug 1859191

Revision history for this message
Galen Charlton (gmc) wrote :

Bug 1693580 changed the method of saving edited bibs from a pcrud update to invoking open-ils.cat.biblio.record.marc.replace. However, open-ils.cat.biblio.record.marc.replace ultimately invokes logic to set the TCN to whatever is in the 001 field, which for a bib that's already in Evergreen is the bib ID.

I believe that open-ils.cat.biblio.record.marc.replace is only meant to be used when replacing a record with one taken from a Z39.50 source, as in that case the incoming bib will _not_ have the 001 already set to the Evergreen bib ID.

I think that the solution is to have the AngularJS MARC editor use open-ils.cat.biblio.record.xml.update instead. It looks like this should be done for the Angular staff client as well.