Optimistic locking error appears when user adds more than 1 tag to "Holdings" record

Description

Overview: Optimistic locking error appears when user adds more than 1 tag to "Holdings" record with source value = Folio/ MARC
Steps to Reproduce:

  1. Log into Snapshot FOLIO environment as User with the following permissions:
    Inventory: All permissions
    Tags: All permissions

  2. Go to "Inventory" app and open any "Holdings" record.

  3. Scroll down to the "Tags" accordion and expand it.

  4. Select one "Tag" from the multiselect element.

  5. Repeat step 4.

Expected Results: Two Tags were added to "Holdings" record.
Actual Results: One Tag was added to "Holdings" record.
The error toast notification is displayed on UI.
The "optimistic locking" error is displayed in DevTools.
Additional Information: see attached screencast.
URL:
Interested parties: ,  

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

Refresh the page with opened "Holdings" records after each added tag.

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Valery_Pilko November 28, 2022 at 11:00 AM
Edited

Verified at Nolana BF environment - the issue from description is fixed, 
See attached screencast:

The issue of fast "Tag" adding/deleting will be addressed in the scope of https://folio-org.atlassian.net/browse/UIIN-2261

cc: ,  

Oleksii Petrenko November 25, 2022 at 4:22 PM

Deployed to Nolana bf. Please proceed with verification

Khalilah Gambrell November 23, 2022 at 10:17 PM

Verified on snapshot. We need to add version. 

Valery_Pilko November 21, 2022 at 3:27 PM
Edited

As was discussed at Stand-up, I have created a new ticket to address the issue from my question in scope of Orchid: https://folio-org.atlassian.net/browse/UIIN-2261
This issue is ready for PO review. 

Valery_Pilko November 21, 2022 at 2:25 PM

Verified at Snapshot-2 environment - the described issue is fixed, but I have a question.
See attached screencast:

Q: When user assigns or deletes Tags really fast, (faster than the first PUT request is complete) the OL error could appear, is it ok?
See attached screencast for clarification:

cc:  

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Nolana (R3 2022) Bug Fix

RCA Group

Incomplete/missing requirements

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created November 4, 2022 at 12:00 PM
Updated February 20, 2023 at 2:46 PM
Resolved November 23, 2022 at 10:17 PM
TestRail: Cases
TestRail: Runs