Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-1646

Optimistic locking. User A editing an item while the same item has been moved to another holding by user B



    • Template:
    • Development Team:
      Core: Platform


      Overview: When User A is editing an item and at the same time User B is moving this item to another holdings, then accordingly the optimistic locking should throw a warning message (UXPROD-1752).

      Steps to Reproduce:

      1. Log into some FOLIO Snapshot as User Diku_Admin on one laptop (User A)
      2. Log into the same FOLIO Snapshot as a different user with the same permissions as A, and permissions to do move of holdings and item on another laptop (User B)
      3. User A go to Instance ABA journal
      4. User A opens any of the associated items in edit mode
      5. User A clicks "Add statistical code"
      6. User A selects the statistical code "SERM (Serial management): ASER - Active serial"
      7. User A stays in the Edit screen (so hold on clicking the Save and Close button)
      8. User B goes to same Instance ABA journal, and will now perform a move of the exactly same item (as user A)
      9. User B opens the Action menu and clicks "Move items within an instance"
      10. User B doing drag and drop of the item that user A has open to a different holdings
      11. User B gets a confirmation message "1 item successfully moved"
      12. User A hits the Save and close button

      Expected Results:
      User A gets a warning message that the item has been moved to another holdings.

      Actual Results:
      Nothing happens. User A's edit is being saved, and User B's move happened, without User A being notified

      Additional Information:
      Optimistic Locking - Detecting and Resolving Conflicts Requirements
      URL: https://wiki.folio.org/display/PO/Optimistic+Locking+-++Detecting+and+Resolving+Conflicts+Requirements

      Interested parties: Jakub Skoczen Julian Ladisch Khalilah Gambrell

        TestRail: Results


            Issue Links



                Unassigned Unassigned
                charlotte Charlotte Whitt
                0 Vote for this issue
                2 Start watching this issue



                    TestRail: Runs

                      TestRail: Cases