Done
Details
Assignee
Aliaksandr FedasiukAliaksandr FedasiukReporter
Aliaksandr FedasiukAliaksandr FedasiukPriority
P2Story Points
3Development Team
Folijet SupportFix versions
Release
Morning Glory (R2 2022) Bug FixRCA Group
Incomplete/missing requirementsTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Aliaksandr Fedasiuk
Aliaksandr FedasiukReporter
Aliaksandr Fedasiuk
Aliaksandr FedasiukPriority
Story Points
3
Development Team
Folijet Support
Fix versions
Release
Morning Glory (R2 2022) Bug Fix
RCA Group
Incomplete/missing requirements
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created August 7, 2022 at 10:08 PM
Updated August 30, 2022 at 10:47 AM
Resolved August 23, 2022 at 5:50 AM
Summary: A MARC-to-Instance or Instance-to-Instance match, followed by a MARC Update action causes the job to get stuck.
Include a way for the job to fail gracefully with an error message instead of getting stuck.
For now, we will just resolve this particular scenario, but in the near future, we will include a spike to identify these earlier in the job processing. In the further future, determine if there is a way to adjust the job profile architecture so that MARC Update actions can follow MARC-Instance or Instance-Instance matches, and the job will process successfully.
Steps to reproduce:
Find an existing match profile or create a new match profile with the following:
Name:
Match Incoming MARC Bib 999 ff $i
Exactly matches
Existing Instance UUID
Go to Settings/Data import/MARC field protections, and make sure there is a field protection for: 514 * * * *. If not, then add one
Create a field mapping profile
Name:
Incoming record type: MARC Bib
FOLIO Record type: MARC Bib Updates
In the Details/Override MARC field protections section, mark the Override checkbox for the 514 field
Create an action profile
Name:
Action: Update
FOLIO record type: MARC Bib record
Link the above field mapping profile
Create a job profile
Name:
Data type: MARC
Add the match profile from above
For matches, add the Update MARC Bib action profile from above
Go to Inventory and find a source = MARC Instance
Mark the checkbox next to the particular instance in the second pane (search results)
Export that instance
Ignore the Delimited file; go to Data export and download the most recent quickExport with your user name
Upload that MARC file and assign the job profile created above, and run the job
Expected results: Unless or until we change the job profile architecture or handling:
The job should finish with Status: Completed with errors
When a user clicks on the file name in the log, and clicks on the title of the record, they should see the error message: Unsupported type of job profile
Actual results: The job gets stuck or completes with errors, and there is no error message in the log to help the user understand what happened
NOTE
This same error message will be used for other problem job profile structures, but for now, only test with the above structure. We will add other tests when we identify additional scenarios.