Instance records with source MARC not linked to SRS record

Description

Overview: For some records, when a user attempts to view an instance record with source MARC, the View Source option is greyed out in the Actions menu in the Inventory App. The user is also unable to edit the bibliographic record in quickMARC.

Actions taken to identify issue:

  • Queried by instance UUID in source-storage/records. The instance cannot be found.

  • In mod-source-record-storage, all MARC records corresponding to the instance have a state of OLD. Also, there are multiple match IDs.

  • Queried each match ID in source-storage/record and the instance UUID is in 999$i for multiple SRS records.

  • The data import job profiles used to overlay these records in the past were reviewed, and no issues were found. The data import job profiles import a single record.

  • Because these records have been overlaid multiple times, it is not clear when the issue first appeared.

This issue is resolved by changing the state of one of the MARC records to ACTUAL. However, it is still unclear why these instances do not have a MARC record with a state of ACTUAL linked to it.

BE notes:

1.Create script that would identify records with no ACTUAL or DELETED version and set the latest generation to ACTUAL.

2.Change overlay workflow to fix Instance records with source MARC not linked to SRS record

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1

Checklist

hide

Activity

Show:

Roman ChernetskyiMarch 5, 2025 at 10:31 AM

Work as expected at snapshot

Katie RahmanFebruary 26, 2025 at 3:13 PM

Thanks Roman for the clarification.

Roman ChernetskyiFebruary 26, 2025 at 3:03 PM

Yes, it recreates links

Katie RahmanFebruary 26, 2025 at 2:59 PM

Thanks Roman. Does the script also update the instance record to reflect the information in the SRS record with a state of ‘ACTUAL’ now linked?

Roman ChernetskyiFebruary 26, 2025 at 10:08 AM

Created a script to fix invalid records: . Tested it on BF data, works as expected

cc:

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Sunflower (R1 2025)

RCA Group

Institution specific (Data)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 14, 2025 at 7:58 PM
Updated March 25, 2025 at 2:23 PM
Resolved March 5, 2025 at 2:13 PM
TestRail: Cases
TestRail: Runs