Cannot open "MARC bib" record for edit after updating $0 in repeatable linked fields (with field mapping profile restrictions)

Description

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:

  1. Log in as user with following permissions:

    1. Data import: Can upload files, import, and view logs

    2. Inventory: All permissions

    3. quickMARC: View, edit MARC bibliographic record

    4. UI: Data export module is enabled

  2. Export "MARC bib" record with linked fields from pre-conditions

  3. Update "$0" subfield values in first and third linked repeatable fields

  4. Delete "$0" subfield from second linked repeatable field

  5. Do not update fourth linked repeatable field

  6. Save updated record

  7. Import updated record using Job profile from pre-condition

  8. 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:

Interested parties: ,  

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

7

Checklist

hide

TestRail: Results

Activity

Show:

Yauhen Viazau May 24, 2023 at 3:13 PM

Verified on Snapshot-2 - issue is fixed

See attached screencast -

Note: issue is reproduced when using "700 * * 0" rule in Filed mapping profile, which I believe should be fixed in

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

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