Done
Details
Assignee
Maksat GalymzhanMaksat GalymzhanReporter
Corrie HutchinsonCorrie HutchinsonPriority
P2Story Points
2Sprint
NoneDevelopment Team
FolijetFix versions
Release
Quesnelia (R1 2024)RCA Group
Incomplete/missing requirementsAffected releases
Quesnelia (R1 2024)Poppy (R2 2023)Orchid (R1 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Maksat Galymzhan
Maksat GalymzhanReporter
Corrie Hutchinson
Corrie HutchinsonPriority
Story Points
2
Sprint
None
Development Team
Folijet
Fix versions
Release
Quesnelia (R1 2024)
RCA Group
Incomplete/missing requirements
Affected releases
Quesnelia (R1 2024)
Poppy (R2 2023)
Orchid (R1 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created October 30, 2023 at 6:42 PM
Updated March 20, 2024 at 7:50 PM
Resolved January 18, 2024 at 7:27 PM
Overview: When updating an instance & holdings records, a MARC modification is not processed that deletes a 990$a. **
Steps to Reproduce:
Log into bugfest-orchid environment.
Choose any record that has an 856 in the MARC record & a holdings record with holdings type = 'Electronic'.
Create a MARC file to load that updates the 856$3, for example, and has a 990$a present (not NULL). I've attached the file I used to this ticket.
Open Data Import & load the file. Choose the job profile 'CAH TEST : Update records, delete 990. This job profile :
Matches the 035$a to a system control number in the instance.
Matches on a holdings' records holding type = 'Electronic'.
Updates the instance
Updates the holdings record with 856 data & adds the 990$a to the record as a stat code
Deletes the 990 from the MARC record
Run the job.
Expected Results: The Instance & holdings records are updated with new 856 field data, a new stat code is added to the holdings record, and the 990$a is deleted from the SRS/MARC record. **
Actual Results: The Instance & holdings records are updated with new 856 field data, a new stat code is added to the holdings record, and the 990$a is still present in the SRS/MARC record. **
Additional Information:
I tried moving the MARC modifications around in the job profile (inside the 'For matches' section or outside), but could never get it to work. The job profile does work if the match & update done on the holdings records are removed, i.e. it's only matching and updating the instance record.
A use case, as in this test file & job profile, is for a file of MARC records to be uploaded to modify the instance with new URL information, add the URL info and a stat code to the holdings records, then remove the 990$a field (from which the stat code was mapped) from the MARC record as it's no longer needed.
Interested parties: University of Chicago
BE notes: try to reproduce on Poppy and snapshot envs, if reproduces - subscribe mod-srs to receive events DI_INVENTORY_HOLDINGS_UPDATED, DI_INVENTORY_ITEM_UPDATED (the case can be relevant for Modify after Item Update action as well)
UPD on current Q behavior:
1. if Modify is placed as a separate node (regardless of what actions are under the match) - job completes without errors, but 990 is not removed. This behavior is out of scope of this issue.
2. If Modify is placed right after Holdings Update action - job hangs (see BE notes and test with added subscriptions)
3. If Modify placed right after Instance Update action - job completes and Modify is processed