Done
Details
Details
Assignee
Viacheslav Kolesnyk
Viacheslav KolesnykReporter
Yauhen Viazau
Yauhen ViazauLabels
Priority
Story Points
2
Sprint
None
Development Team
Spitfire
Fix versions
Release
Poppy (R2 2023)
RCA Group
Missing integration/unit test
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created May 12, 2023 at 1:04 PM
Updated October 11, 2023 at 7:45 PM
Resolved June 5, 2023 at 11:51 AM
Overview: Cannot open record for edit after updating $0 in repeatable linked fields (with field mapping profile restrictions)
Pre-conditions:
The job profile should be created for "Data import" app: " Update MARC Bib records by matching 999 ff $s subfield value (245, 700)".
Match profile for it should have following specified:
Field: 999
Ind 1: f
Ind 2: f
Subfield: s
Click "Add field" button again and input the following:
Field: 700
In.1: *
In.2: *
Subfield: *.
"MARC bib" record should have at least 4 repeatable fields with the same indicators (boxes 2, 3), and all of them should be linked to different "MARC authority" records.
You can use attached files and create following links:
"700" MARC field with "$a" value "Chin, Staceyann," must be linked to the "100" field of imported "MARC Authority" record ("Chin, Staceyann").
The "700" MARC field with "$a" value "Lee, Stan," must be linked to the "100" field of imported "MARC Authority" record ("Lee, Stan").
The "700" MARC field with "$a" value "Kirby, Jack," must be linked to the "100" field of imported "MARC Authority" record ("Kirby, Jack").
The "700" MARC field with "$a" value "Other, Author" must be linked to the "100" field of imported "MARC Authority" record ("Jackson, Peter,").
Steps to Reproduce:
Log in as user with following permissions:
Data import: Can upload files, import, and view logs
Inventory: All permissions
quickMARC: View, edit MARC bibliographic record
UI: Data export module is enabled
Export "MARC bib" record with linked fields from pre-conditions
Update "$0" subfield values in first and third linked repeatable fields
Delete "$0" subfield from second linked repeatable field
Do not update fourth linked repeatable field
Save updated record
Import updated record using Job profile from pre-condition
Open imported record for edit
Expected Results:
First three previously linked repeatable fields unlinked. No "$9" is shown in them. "$0" updated in first and third fields, removed from second field (as per Steps 3-4)
Fourth previously linked repeatable field remains linked and unchanged
Actual Results:
"Record cannot be found or loaded" error toast notification when trying to open record for edit
In source view: only one of the first updated repeatable field is shown (with correctly updated "$0" and no "$9", as expected). Not updated previously linked repeatable field (fourth) remains unchanged
Additional Information:
See attached screencast:
Relevant test case: https://foliotest.testrail.io/index.php?/cases/view/387510
Interested parties: ,