Skip to content

Registration should not fail if an item has a FOLIO inventory record but the record lacks MARC #4922

@andrewjbtw

Description

@andrewjbtw

It's possible to create FOLIO records that lack MARC. But when an SDR user tries to register a druid with a FOLIO instance HRID that lacks MARC, registration fails.

Lately, we've seen an increase in records created in FOLIO that do not have MARC. These records have FOLIO Instance HRIDs, and appear to have at least titles, but do not have even a stub MARC record. Cataloging eventually adds MARC data to these records, but only after they are registered.

The problem at registration is that registration attempts to "refresh" the SDR record from FOLIO immediately. "Refresh" means importing the MARC metadata. But since there is no MARC at this point, the refresh fails, which in turn means registration itself fails.

We should change registration to handle this case. If we can assume that a FOLIO record will have the minimum required data for an SDR record - a title - then I think the best option will be to have SDR fall back on importing the FOLIO title if there is no MARC title.

Users will still need to wait until MARC is created to refresh the metadata later but at least they will be able to proceed with registration. Currently what users have to do is register without the FOLIO Instance HRID and then add the HRID later.

Background

When the SDR integration was set up for the Symphony-to-FOLIO migration, there was an assumption that all SDR-related FOLIO records would contain MARC records in FOLIO's source record storage. As far as I know, Symphony only supported MARC.

Other features that currently fail for lack of MARC are "refresh" (after registration) and "release to SW." We can't make those work without MARC at this point but we could improve the error messages that get shown when they fail. That will be ticketed separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions