Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Spitfire Sprint 139, Spitfire Sprint 140
-
2
-
Spitfire
-
Morning Glory (R2 2022)
Description
Purpose:
User story statement(s):
As a user,
I want to update the Authority record via quick-marc
so that when the optimistic locking issue has occurred:
"{ \"message\": \"Cannot update record dc822c6c-b27a-4a77-8c59-1c42a50d0745 because it has been changed (optimistic locking): Stored _version is 3, _version of request is 1\", \"severity\": \"ERROR\", \"code\": \"23F09\", \"where\": \"PL/pgSQL function holdings_record_set_ol_version() line 8 at RAISE\", \"file\": \"pl_exec.c\", \"line\": \"3841\", \"routine\": \"exec_stmt_raise\", \"schema\": \"diku_mod_inventory_storage\", \"table\": \"holdings_record\" }"
user will see an understandable message
Requirement
- Requirement applies to the user editing a MARC authority record via quickMARC
- If user hits Save and a conflict is detected then display Conflict detection banner
- Implement https://issues.folio.org/browse/STCOM-889
- Display message under quickMARC paneheader (see below screenshot)
- If a MARC authority record then clicking View latest version link displays AS IF the user hit Save & close and it was successful AND display three pane view with an update Instance record in the third pane in a new window/tab
- If possible have focus go to the instance record pane header.
- If user hits Cancel or X on the Edit quickMARC form then no change to current UX behavior > Show Are you sure modal?
- If user has deleted MARC fields/rows or has entered an invalid value then do not show the are you sure you want to delete fields modal or error toast notification. Just show the conflict detection modal (if possible) mariiaschv, can you confirm if this is possible?
- When user hits Save & close, make sure focus returns or remains on the conflict detection banner.
Requirements:
Requirement 1
Given the user A is editing a MARC authority record via quickMARC
AND while user A is editing the record via quickMARC, user B has edited and saved the same quickMARC record
Therefore user A editing the quickMARC record is not viewing the latest version
When user A hits Save on the quickMARC form
Then display the conflict detection banner on the quickMARC form
Requirement 2
Given conflict detection banner displays on the MARC authority record - quickMARC
When user A clicks on View latest version link
Then display three pane view with an update View MARC authority source record in the third pane in a new pane/window
Requirement 3
Given a user has deleted rows
When a conflict is detected
Then do not show are you sure you want to delete fields modal
AND just show the conflict detection banner
Requirement 4
Given a user has entered invalid values
When a conflict is detected
Then do not show error toast notification
AND just show the conflict detection banner
TestRail: Results
Attachments
Issue Links
- clones
-
UIQM-162 Optimistic locking: display error message to inform user about OL
-
- Closed
-
- defines
-
MODQM-166 Spike: investigate effort to support optimistic locking
-
- Closed
-
- is blocked by
-
MODINVSTOR-909 Optimistic locking message does not return from back-end
-
- Closed
-
- is cloned by
-
UIQM-242 Apply to MARC Authority: Optimistic locking: display error message to inform user about OL
-
- Closed
-
- relates to
-
UIMARCAUTH-152 An error appears when user tries to close the editing window of already deleted "MARC Authority" record
-
- Closed
-
-
UXPROD-3521 Spitfire - Morning Glory R2 2022 MARC Enhancements/Bugfixes
-
- Closed
-
-
STCOM-889 Create a Conflict Detection banner
-
- Closed
-
- requires
-
MODQM-222 Cache entry doesn't evict after DeferredResult had set
-
- Closed
-
- mentioned in
-
Page Loading...