...
Use cases - Must test to validate functionality
(Taken from UXPROD-1752 - Please add others. These will be refined to more detailed workflows/use cases for testing.)
...
When a conflict is detected, you will see this message.
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
https://drive.google.com/file/d/10d8iELI694Mgsi5RtRfs1ppCgrPp9WLB/view
- More frequent: 1 user and system trying to act on the same record, either individual records or batch
...
Use case | Tester (enter your name as a mention) | Use case work as expected (Pass/Fail)? | Comments | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
User A and User B editing the same holdings record. User B saves record then User A hits Save. | Pass with error message | User A and B hits Save at the same time. User A get Error message saying: ERROR: in module @folio/inventory, operation PUT on resource 'holdingsRecords' failed, saying: { "message": "Cannot update record c4a15834-0184-4a6f-9c0c-0ca5bad8286d because it has been changed (optimistic locking): Stored _version is 2, _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 B's work is saved, and gets a green success toast | |||||||||||||
User A and User B editing the same item record. User B saves record then User A hits Save. | Pass with error message | User A and B hits Save at the same time. User A gets Error message saying: ERROR: in module @folio/inventory, operation PUT on resource 'items' failed, saying: { "message": "Cannot update record f8b6d973-60d4-41ce-a57b-a3884471a6d6 because it has been changed (optimistic locking): Stored _version is 4, _version of request is 3", "severity": "ERROR", "code": "23F09", "where": "PL/pgSQL function item_set_ol_version() line 8 at RAISE", "file": "pl_exec.c", "line": "3841", "routine": "exec_stmt_raise", "schema": "diku_mod_inventory_storage", "table": "item" } User B's work is saved, and gets a green success toast | |||||||||||||
User A and User B editing the same instance record. User B saves record then User A hits Save. | Pass with Instance modal. | User A and B hits Save at the same time. Saving instance modal, and User A get the error message 409: undefined | |||||||||||||
User A editing an item and User B creating a request for that item | Pass with exception | No conflict modal displays BUT returning to item record view does not display updated # of requests UNLESS you refresh the web page | |||||||||||||
User A editing an item and User B cancels the request before User A's edits are saved. | Khalilah Gambrell | Pass with exception | No conflict modal displays BUT returning to item record view does not display updated # of requests UNLESS you refresh the web page | ||||||||||||
User A is moving a request from one item to another at the same time User B is editing item record that the request is moving from/to | Khalilah Gambrell | Pass? | Conflict modal displays BUT returning to item record view does not display updated # of requests UNLESS you refresh the web page | ||||||||||||
User A editing an item and User B putting that item on course reserve at the same time | Pass | Adds an item to a course reserve record updates temporary location. > User attempts to save item record > OL message displays.] | |||||||||||||
User A editing a holdings record and User B has deleted this given holdings record. User A hits Save. | Will retest: Charlotte Whitt | Pass with error message |
User A hits Save at the same time, and User B save the Deletion modal at the same time. User A gets Error message saying: ERROR: in module @folio/inventory, operation GET on resource 'holdingsRecords' failed, saying: Not Found User B's work is saved, and the holdings record is deleted as expected | ||||||||||||
User A editing an item record and User B has deleted this given item record. User A hits Save. | Pass with error message | User A hits Save at the same time, and User B save the Deletion modal at the same time. User A gets Error message saying: ERROR: in module @folio/inventory, operation PUT on resource 'items' failed, saying: Not found User B's work is saved, and the item record is deleted as expected | |||||||||||||
User A editing a request while User B checks the item out to the patron (which updates the request status) | Khalilah Gambrell | Pass | |||||||||||||
User A editing an item while checkin occurs to update the item status. | Pass | ||||||||||||||
User A editing an item while fee/fine has been created for an item. | Khalilah Gambrell | Pass | No conflict detection modal displays when no change to item status. | ||||||||||||
User A editing a holdings record while holdings record has been moved to another instance | Fails the OL test | User B moves the holdings., which user A is still editing. No conflict is detected.
| |||||||||||||
User A editing an item record while item has been moved to another holdings record | Fails the OL test | User B moves an item to another holdings. User A is editing the same item (update item status to be Marked as In process). No conflict is detected.
| |||||||||||||
User A editing record while another User marks a record | Khalilah Gambrell | Pass | Anything that changes item status triggers display on conflict detection modal. | ||||||||||||
User A is editing Instance record AND User B is editing quickMARC record. User B saves quickMARC record | |||||||||||||||
User A is editing instance record and user B has overlaid same record. User A hits Save | Khalilah Gambrell | ||||||||||||||
User A is editing quickMARC record and user B has overlaid same record. User A hits Save | Khalilah Gambrell | ||||||||||||||
User A views the detect conflict modal and closes modal. S/he views updated record and edits record. There is no conflict and user should be able to update record successfully. | Khalilah Gambrell | Pass |
...
Jira feature for Inventory implementation in Kiwi:
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Draft/blocked Kiwi feature for supporting Inventory's Kiwi Optimistic Locking implementation:
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
...