You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/03/04 01:52:05 UTC

[jira] [Created] (ISIS-1065) Auditing of editing of properties only audits one of the properties changed (the last one)

Dan Haywood created ISIS-1065:
---------------------------------

             Summary: Auditing of editing of properties only audits one of the properties changed (the last one)
                 Key: ISIS-1065
                 URL: https://issues.apache.org/jira/browse/ISIS-1065
             Project: Isis
          Issue Type: Bug
          Components: Core
    Affects Versions: core-1.8.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Critical
             Fix For: core-1.9.0


The reason being that the JDO preDirty callback (from which IsisTransaction#enlistUpdating is called) is called multiple times for each dirtied property.

The fix is to add a guard to only add to the "pre" values if the pre value has not already been captured.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)