MARC modifications not processed when placed after Holdings Update action in a job profile

Description

Overview:  When updating an instance & holdings records, a MARC modification is not processed that deletes a 990$a.  **  

Steps to Reproduce:

  1. Log into bugfest-orchid environment.

  2. Choose any record that has an 856 in the MARC record & a holdings record with holdings type = 'Electronic'.

  3. 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.

  4. Open Data Import & load the file.  Choose the job profile 'CAH TEST : Update records, delete 990.  This job profile :

    1. Matches the 035$a to a system control number in the instance.  

    2. Matches on a holdings' records holding type = 'Electronic'.

    3. Updates the instance

    4. Updates the holdings record with 856 data & adds the 990$a to the record as a stat code

    5. Deletes the 990 from the MARC record

  5. 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

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Ryan TaylorJanuary 18, 2024 at 7:27 PM

Issue appears to be addressed per testing. Closing case.

Maksym IshchenkoJanuary 18, 2024 at 11:23 AM

Hi  

Ticket verified on sprint testing env. 990$a field is deleted and job is not hanging anymore, moving this ticket further. 

Screencast in related FAT

cc:  

Khalilah GambrellDecember 19, 2023 at 8:50 PM

Hey   is there a workaround to this issue? 

Ryan TaylorDecember 19, 2023 at 7:40 PM

Per insight from , I've updated Release for this ticket to from Poppy to Quesnelia as this work requires more time to investigate and is not a regression. CC: &  

Khalilah GambrellDecember 18, 2023 at 5:55 PM

  - is there a workaround to this issue? 

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

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
TestRail: Cases
TestRail: Runs