"sourceRecordActionStatus" attribute is missing in log entries response for some records

Description

Overview: The issue is reproduced for bad data records, e.g. record without 008 field (instance uuid 35e18a08-5049-450d-ba33-271d72533e90 is an example for Sprint testing environment). When updated via Data Import using “Update SRS“ profile - log entries do not include "sourceRecordActionStatus" attribute. Actually, in “Inventory“ app SRS is updated but Instance is not updated for such record

Steps to reproduce:

  1. Go to “Inventory“ app

  2. Find bad data record, e.g. record without 008 field (instance uuid 35e18a08-5049-450d-ba33-271d72533e90 is an example for Sprint testing environment) > Open Instance detailed view

  3. Click “Actions“ > “Export instance (MARC)“

  4. Go to “Data export“ app > Download exported .mrc file

  5. Edit MARC fields of Instance records (e.g. add 856 field) > Save changes in .mrc file

  6. Go to “Settings“ > “Data import“ > Create “Update SRS“ profile

  7. Go to “Data import“ app > Import changed .mrc file with “Update SRS“ profile

  8. Verify response for {{url}}/metadata-provider/jobLogEntries request

Expected result: Log entries response includes "sourceRecordActionStatus" attribute value "sourceRecordActionStatus": "DISCARDED" . Record is not updated (SRS, Instance)

Actual result: "sourceRecordActionStatus" attribute is missing. SRS is updated but Instance is not updated

Additional information: due to absence of "sourceRecordActionStatus" attribute such records are missed either in the Preview of record changed or in Errors while committing changes when bulk edit of MARC Instances is done

Potential Workaround

None

Attachments

1

Checklist

hide

Activity

Show:

Mikita Siadykh 2 days ago

I would increase priority for at least P2 - because of this issue bulk edit commit part is frozen for at least 20 mins when changing 40k records, for 100k it would be about 1h (it’s a result that we poll statuses from SRS - we had to do it as DI doesn’t have mechanism to say when everything is ready - and when statuses are never populated to use maximum retries)

Details

Assignee

Reporter

Priority

Story Points

Development Team

Folijet

Release

Sunflower (R1 2025) Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created 2 days ago
Updated 12 hours ago
Loading...