Validation of non-controlled subfields of linked field doesn't work when subfields are added/removed after the field has been linked

Description

Overview: Validation of non-controlled subfields of linked MARC bib field doesn't work for subfields entered after field has been linked.
Issue reproduces for required/repeatable/undefined rules.

Steps to reproduce:

  1. Log in into Snapshot environment as admin user

  2. Go to “Inventory” app

  3. Find imported “MARC bib” record () and open its detail view pane

  4. Click on the “Actions” >> “Edit MARC bibliographic record”

  5. Link “240” field with imported “MARC authority” record.

  6. Add a subfield which should trigger validation error, ex. add undefined “$3” subfield in the editable box.

    image-20240918-172424.png
  7. Click on the “Save & close” button
    Expected result for step 7: Warn error for undefined “$3” is displayed.
    Actual result for step 7: Warn error for undefined “$3” is NOT displayed.

  8. Click on the “Save & keep editing” button.

  9. Remove added undefined subfield, ex.: delete “$3”

  10. Click on the “Save & close” button
    Expected result for step 10: Warn error for undefined “$3” is NOT displayed.
    Actual result for step 10: Warn error for undefined “$3” is displayed.

See attached screencast:

UIQM-704_issue.webm

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3
  • 02 Oct 2024, 01:43 PM
  • 18 Sep 2024, 05:26 PM
  • 18 Sep 2024, 05:26 PM

Checklist

hide

Activity

Show:

Valery_Pilko October 2, 2024 at 1:43 PM

Verified on Snapshot environment - fixed.
See attached screencast:

UIQM-704_fixed.webm

Following issue found https://folio-org.atlassian.net/browse/MRSPECS-66

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Ramsons (R2 2024)

RCA Group

Lack of testing

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 18, 2024 at 5:23 PM
Updated November 25, 2024 at 3:47 PM
Resolved October 11, 2024 at 5:22 PM
TestRail: Cases
TestRail: Runs

Flag notifications