[
https://issues.apache.org/jira/browse/ISIS-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14323307#comment-14323307
]
ASF subversion and git services commented on ISIS-1041:
-------------------------------------------------------
Commit dafa36058cd13e9ffaedbe0483e2064ba9b2b2ae in isis's branch
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=dafa360 ]
ISIS-1041: fix for auditing, was causing duplicate (xactn/oid/property to be
logged in a single transaction.
> Under certain circumstances, appears that auditing can cause the same tuple
> to be audited within a single transaction.
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ISIS-1041
> URL: https://issues.apache.org/jira/browse/ISIS-1041
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: core-1.7.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Fix For: core-1.8.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)