Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2019

Optimistic locking always fails on CRYPTO columns

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.M2
    • Fix Version/s: 4.2.M1
    • Component/s: Core Library
    • Labels:
      None

      Description

      If you have optimistic locking turned on for columns that are configured to be encrypted (named CRYPTO_*) then updates to those rows will always fail because it uses the unencrypted value to check the optimistic locking, ie. WHERE encryptedColumn = <unencryptedValue>

        Attachments

          Activity

            People

            • Assignee:
              johnthuss John Huss
              Reporter:
              johnthuss John Huss
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h