Incorrect error notification text when editing "MARC authority" record deleted by another user

Description

Overview: Incorrect error notification text when editing "MARC authority" record deleted by another user

Preconditions: system must have valid "MARC authority" records. You can import attached ".mrc" file via "Data import" app using "Default - Create SRS MARC Authority" job profile.

Steps to Reproduce:

  1. First browser tab. Log into https://folio-snapshot.dev.folio.org/ as User A with following permissions:

    1. MARC Authority: Edit MARC authority record

    2. MARC Authority: View MARC authority record

    3. quickMARC: View, edit MARC authorities record.

  2. Go to "MARC authority" app

  3. Find and open any existing "MARC authority" record (ex.: "1938-1988 Jubilee Conference of the Institution of Agricultural Engineers")

  4. Click on the "Actions" dropdown button and select the "Edit" option from the dropdown

  5. Second browser tab. Log into https://folio-snapshot.dev.folio.org/ as User B with following permissions:

    1. MARC Authority: Edit MARC authority record

    2. MARC Authority: View MARC authority record

    3. quickMARC: View, edit MARC authorities record

    4. MARC Authority: Delete MARC authority record

  6. Go to "MARC authority" app

  7. Find and open "MARC authority" record opened at Step 3 (ex.: "1938-1988 Jubilee Conference of the Institution of Agricultural Engineers")

  8. Click on the "Actions" dropdown button and select the "Delete" option from the dropdown

  9. Confirm deletion by clicking on the "Delete" button

  10. First browser tab. Edit any subfield at 1XX-9XX MARC tag

  11. Click on the "Save & close" button

Expected Results: The error toast notification is displaying with the following message:
"This record has been deleted by another user. You can no longer edit this record, hit the cancel button to return to the previous page."

Actual Results: Record not saved: The error toast notification is displaying with the following message: "Communication problem with server. Please try again.Record not saved: Communication problem with server. Please try again."

Additional Information:

  • See attached screencast:

  • Also reproduced if done by the same user in different sessions

  • Authority record is actually deleted from the system

Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Yauhen Viazau November 10, 2023 at 8:16 AM

Verified on Poppy BF - works as expected

See example:

JenkinsNotifications November 9, 2023 at 8:21 PM

Deployed to the Poppy bf env. Moved status to In bugfix review from status Awaiting deployment. Please proceed with the verification.

Valery_Pilko November 7, 2023 at 9:57 AM

Verified on Snapshot environment - works as expected.
See attached screencast:

Pavlo Smahin November 6, 2023 at 6:57 PM

, authorities were moved to another module, and we changed the error message format to be consistent with all types of errors. So, yes this is a new format, and adjustments are needed on FE.

Dmytro Melnyshyn November 6, 2023 at 1:22 PM

Hi - the error message has been changed when a user attempts to get a deleted MARC authority record. Previously the error message was "Not found", now it is

Who should make the changes, BE or FE?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Poppy (R2 2023) Bug Fix

RCA Group

Related dependency upgrade

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created November 2, 2023 at 7:34 AM
Updated November 30, 2023 at 12:35 PM
Resolved November 7, 2023 at 2:24 PM
TestRail: Cases
TestRail: Runs