"sourceRecordActionStatus" attribute is missing in log entries response for some records
Description
Potential Workaround
None
Attachments
1
Checklist
hideActivity
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
Details
Assignee

Reporter

Labels
Priority
Story Points
3
Sprint
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
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:
Go to “Inventory“ app
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
Click “Actions“ > “Export instance (MARC)“
Go to “Data export“ app > Download exported .mrc file
Edit MARC fields of Instance records (e.g. add 856 field) > Save changes in .mrc file
Go to “Settings“ > “Data import“ > Create “Update SRS“ profile
Go to “Data import“ app > Import changed .mrc file with “Update SRS“ profile
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