Click "Cancel", "X", button doesn't show Unsaved changes modal when there are warn/fail errors in quickmarc

Description

Overview: Click "Cancel", "X" button (or “ECS” key) doesn't show Unsaved changes modal when there are unsaved changes and displayed warn/fail errors in quickmarc.
Reproduces for MARC bib/authority/holdings - create/edit/derive.

Steps to reproduce:

  1. Open MARC record via quickmarc in Create/Edit/Derive mode

  2. Update any field (create unsaved changes, which will trigger Warn of Fail error)

  3. Click on the “Save & keep editing”/”Save & close” (warn or fail error must appear)

  4. Click on the “Cancel” / “X” button / Hit “Ecs” keyboard key

Expected result: Display the Unsaved changes “Are you sure” modal
Actual result: Quickmarc pane is closed without “Are you sure” modal appearance.
See attached screencast:

UIQM-743_issue.webm

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2
  • 14 Jan 2025, 07:38 AM
  • 18 Dec 2024, 03:22 PM

Checklist

hide

Activity

Show:

Valery_Pilko January 14, 2025 at 7:38 AM

Verified on Snapshot environment - fixed.
See attached screenshot for example:

image-20250114-073826.png
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Release

Sunflower (R1 2025)

RCA Group

Legitimate regression

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created December 18, 2024 at 3:20 PM
Updated January 15, 2025 at 2:06 PM
Resolved January 15, 2025 at 2:06 PM
TestRail: Cases
TestRail: Runs

Flag notifications