Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1041

Under certain circumstances, appears that auditing can cause the same tuple to be audited within a single transaction.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: core-1.7.0
    • Fix Version/s: core-1.8.0
    • Component/s: Core
    • Labels:
      None

      Description

      In the case of the Isis addon's implementation of auditing, there is a unique key constraint on (xactn/object oid/propertyId). This should indeed be unique.

      However, for a large xactn (in isis-app-todoapp) found certain circumstances when the "changedProperties" map (keyed by AdapterAndProperty) seems to hold entries that violate this constraint.

      Fix is to implement the hashCode/equals of AdapterAndProperty in a fashion in a more straightforward way.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: