sul-dlss / dor-services-app

A Rails application exposing Digital Object Registry functions as a RESTful HTTP API
https://sul-dlss.github.io/dor-services-app/
Other
3 stars 2 forks source link

856/Folio: do not duplicate 856 entries for the same druid #4452

Closed andrewjbtw closed 1 year ago

andrewjbtw commented 1 year ago

When an item that has been released is released again, do not create additional 856 records referring to the same druid.

For example, I released https://argo-qa.stanford.edu/view/druid:qq019rq5469 multiple times:

Each release should have left only one 856 on the MARC record. But the MARC (folio-test link) looks like this:

856 | 4 1 | ‡u https://sul-purl-stage.stanford.edu/qq019rq5469 ‡x SDR-PURL ‡x item ‡x rights:world
856 | 4 1 | ‡u https://sul-purl-stage.stanford.edu/qq019rq5469 ‡x SDR-PURL ‡x item ‡x rights:world
856 | 4 1 | ‡u https://sul-purl-stage.stanford.edu/qq019rq5469 ‡x SDR-PURL ‡x item
mjgiarlo commented 1 year ago

@andrewjbtw I can no longer reproduce this with the test object in QA. Can you?

andrewjbtw commented 1 year ago

This is now working in QA.

mjgiarlo commented 1 year ago

Thank you! Closing.