MARC source shared instance overlay fails occasionally

Description

Steps to Reproduce:

  1. Create Shared MARC Instance on Central tenant by importing MARC-BIB record using "Default - Create instance and SRS MARC Bib" job profile

  2. Switch affiliations to Member tenant

  3. Find the created shared MARC source Instance

  4. Click "Actions" button -> Select "Overlay source bibliographic record" option

  5. Enter identifier (e.g. 1234568)

  6. Click "Import" button

Expected Results:
Instance is updated with the new values. In Data import the last import related to overlay process is "Completed" without errors

Actual Results:
Instance is NOT updated. In Data import the last import is "Completed with errors".

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux December 8, 2023 at 4:50 PM

Hi and Yes! All looks good on Consortial Bugfest. Closing this issue.

Valery_Pilko December 8, 2023 at 11:08 AM

Verified on https://folio-dev-folijet-consortium.ci.folio.org/ - issue was fixed,
See attached screencast:

Hi  
Please review

Ruslan Lavrov December 8, 2023 at 11:06 AM
Edited

During the investigation, it was found that the issue is occasionally reproduced only in consortia environments where more than one module instance is run (in particular for mod-source-record-manager). This misbehavior is due to the incorrect tenantId being passed in the request for mapping metadata retrieval. During the MARC source instance overlay flow, a request for mapping metadata is sent to SRM. When a request reaches SRM instance where mapping metadata has not been cached previously, the module tries to retrieve it from the database and fails due to incorrect tenantId.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Fix versions

Release

Poppy (R2 2023) Bug Fix

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 7, 2023 at 7:09 PM
Updated January 11, 2024 at 3:16 PM
Resolved December 8, 2023 at 12:14 PM
TestRail: Cases
TestRail: Runs