Uploaded image for project: 'mod-finance-storage'
  1. mod-finance-storage
  2. MODFISTO-340

Invalid usage of optimistic locking

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 8.3.0
    • ACQ Sprint 148
    • 1
    • Thunderjet
    • Nolana R3 2022
    • TBD

    Description

      Overview:
      **

      Due to invalid usage of RMB optimistic locking feature updating records which do not have specified "_version" filed causes error 409

      Do not set version manualy! 

      For more deatails read RMB documentation and the code how OL trigger implemented

      https://github.com/folio-org/raml-module-builder/blob/7b3abdf285628396f961905b5be7bca3b093c6e7/domain-models-runtime/src/main/resources/templates/db_scripts/optimistic_locking.ftl

       

      https://github.com/folio-org/raml-module-builder#optimistic-locking

      Expected Results:

      All records affected by OL mechanism successfully updated
      Actual Results:

      transaction update failed with error 409

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Nosko Serhii Nosko
                siarhei_hrabko Siarhei Hrabko
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases