Controlled subfields of linked field are displayed in editable text box after link saving

Description

Overview: Controlled subfields of linked field are displayed in editable text box after link saving.
User can't edit and save "MARC bib" record with linked field until the linked field is deleted. 
Steps to Reproduce:

  1. Log into Snapshot FOLIO environment as User with following permissions:
    Inventory: All permissions
    quickMARC: Can Link/unlink authority records to bib records
    MARC Authority: View MARC authority record
    quickMARC: View, edit MARC bibliographic record

  2. Go to "Inventory" app.

  3. Find and open detail view of imported "MARC bib" record (

  1. )
    Search query ex.: "Black Panther"

  2. Click on the "Actions" >> "Edit MARC bibliographic record"

  3. Click on the "Link to MARC authority record" icon placed next to the "100" field.

  4. Find and open imported "MARC authority" record (

  1. )
    Search query ex.: "Coates, Ta-Nehisi"

  2. Click on the "Link" button.

  3. Click on the "Save & keep editing" button.

Expected Results: Controlled subfield ("$a") is displayed in the 4th read only box of "100" field.

Actual Results:
4th read only box is empty.
Controlled subfield ("$a") is displayed in the 5th editable box.

Additional Information: 
1) User can't edit and save record with saved linked field.
2) The "Link" was created when user clicked on the "Save & keep editing" button.
See screenshot:

3) See attached screencast:

Interested parties:  

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

9

Checklist

hide

TestRail: Results

Activity

Show:

Yauhen ViazauApril 27, 2023 at 2:55 PM

Verified on Snapshot - works as expected

Issue when user unable to save after unlink is not reproducible:

  •  

Original issue with linked field is not re-introduced

Valery_PilkoApril 27, 2023 at 7:58 AM

Hi  
The issue from description was fixed, but during testing I've found another one:
Issue 2: User can't save MARC Bib record after saved and linked field was unlinked by user.
Steps:

  1. Go to "Inventory" app.

  2. Find and open detail view of imported "MARC bib" record (

  1. )
    Search query ex.: "Black Panther"

  2. Click on the "Actions" >> "Edit MARC bibliographic record"

  3. Click on the "Link to MARC authority record" icon placed next to the "100" field.

  4. Find and open imported "MARC authority" record (

  1. )
    Search query ex.: "Coates, Ta-Nehisi"

  2. Click on the "Link" button.

  3. Click on the "Save & keep editing" button.

  4. Click on the "Unlink" icon placed next to the linked field >> confirm unlinking.

  5. Click on the "Save & close" / "Save & keep editing" button.
    Expected Results: Record successfully saved. Field was unlinked.
    Actual Results: Nothing happens when user clicks on the "Save & close" / "Save & keep editing" button.
    See attached screencast:

  1. Workaround: Delete unlinked field and save the record.
    Additional information: Same issue is reproduced for Derive. When user pick for deriving MARC bib record with saved linked fields and remove linking in derive window.

 

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Poppy (R2 2023)

RCA Group

Related dependency upgrade

Affected releases

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 11, 2023 at 8:52 AM
Updated October 3, 2023 at 3:41 PM
Resolved April 30, 2023 at 2:54 PM
TestRail: Cases
TestRail: Runs