Done
Details
Assignee
Igor GorchakovIgor GorchakovReporter
Valery_PilkoValery_PilkoPriority
P2Story Points
3Sprint
NoneDevelopment Team
SpitfireFix versions
Release
Morning Glory (R2 2022)RCA Group
Legitimate regressionTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Igor Gorchakov
Igor GorchakovReporter
Valery_Pilko
Valery_PilkoPriority
Story Points
3
Sprint
None
Development Team
Spitfire
Fix versions
Release
Morning Glory (R2 2022)
RCA Group
Legitimate regression
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created May 20, 2022 at 7:42 AM
Updated June 29, 2022 at 9:18 PM
Resolved June 23, 2022 at 1:31 PM
Overview: Updating "MARC Authority" record by matching "999 ff $s" subfield value fail with "Completed with errors" status and MARC record doesn't update.
Steps to Reproduce:
# Log into snapshot FOLIO environment as User the at least following permissions:
-Data import: Can upload files, import, and view logs
-Settings (Data import): Can view only"
-Settings (Data import): Can view, create, edit, and remove
-Edit MARC authority record
-View MARC authority record
-quickMARC: View, edit MARC authorities record
1) Navigate to "Data import" app.
Trigger the data import by clicking on the "or choose file" button at jobs panel and submitting "uniform_title.mrc" file, using "Default - Create SRS MARC Authority" job profile.
Wait for import to complete and verify that MARC record successfully imported.
2) Navigate to "MARC Authority" app and open detail view of imported record [e.g.: "Cartoons & Comics"]
Copy the value of "999 ff" field.
Open imported file "uniform_title.mrc" via "MarcEditor".
Edit any of "1XX-998" fields.
Create "999 ff" field with $s and $i values which exactly matches values from opened record at step 5.
Save edited ".mrc" file with a new name. [e.g.: "uniform_title _Updated.mrc"]
3) Navigate to "Settings/Data import/Match profiles"
3.1. Create a new matching profile:
Existing records = MARC Authority
Incoming record type = MARC Authority
Incoming MARC Authority record:
Field = 999, Ind 1 = f, Ind 2 = f, Subfield = s
Don't check "Use qualifier" and "Only compare part of this value"
Match criterion = Exactly matches
Existing MARC Authority record:
Field = 999, Ind 1 = f, Ind 2 = f, Subfield = s
Don't check "Use qualifier" and "Only compare part of this value"
Save the match profile
3.2. Go to Field mapping profiles and create a new one:
Incoming record type = MARC Authority
FOLIO record type = MARC Authority
Field mappings for MARC = Updates
Click on the "Save as profile and close" button.
3.3. Go to Action profiles and create a new action profile:
Action = Update (all record types except Orders)
FOLIO record type = MARC Authority
Link the mapping profile to this action profile.
Click on the "Save as profile and close" button.
3.4. Go to Job profiles and create a new job profile:
Accepted data type = MARC
Click on "+" button and select "Match" option
Choose the match profile created earlier
In "For matches" tab: Click on "+" button and select "Action" option
Choose the action profile created earlier
Click on the "Save as profile and close" button.
4) Navigate to "Data import" app.
Trigger the data import by clicking on the "or choose file" button at jobs panel and submitting ".mrc" file with updates and "999 ff" field values, from "uniform_title _Updated.mrc".
Click on created Job profile => Click "Run".
Wait for import complete and click on title at appeared row.
Expected Results: Import success with "Complete" status. The "MARC Authority" record successfully updated.
Actual Results: Import finish with "Complete with errors" status. "Authority" column displayed the status "Discarded".
Additional Information:
1) See attached screencast.
2) You can use attached ".mrc" files for import and update (don't forget to update "999 ff" field value in the "uniform_title _Updated.mrc" file.
3) This problem is reproduced at [https://folio-snapshot.dev.folio.org/] and [https://sprint-testing.ci.folio.org/]
But this problem NOT reproduce at [https://bugfest-lotus.int.aws.folio.org/]
Link to created job profile at snapshot: [https://folio-snapshot.dev.folio.org/settings/data-import/job-profiles/view/9b71da9b-dbec-4347-a5b1-0497411c245c?sort=name]
Link on created job profile at bugfest: [https://bugfest-lotus.int.aws.folio.org/settings/data-import/job-profiles/view/24c64f97-bc30-4818-9e70-79cecbc0ceb0?query=999&sort=name]