[ 
https://issues.apache.org/jira/browse/ISIS-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181687#comment-17181687
 ] 

ASF subversion and git services commented on ISIS-2423:
-------------------------------------------------------

Commit 4203e19bb208e7a90840b46a36a70f141522abef in isis's branch 
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=4203e19 ]

ISIS-2423: fixes persisting callback (in preStore/postStore)


> Persisted callback and PublisherService#changedObjects are not called, 
> instead appear as updates.
> -------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-2423
>                 URL: https://issues.apache.org/jira/browse/ISIS-2423
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Core
>    Affects Versions: 2.0.0-M3
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0-M4
>
>
> Due to use of EntityUtil.isAttached(...) in the 
> PersistenceSession5#enlistCreated... method, rather than checking our own 
> Oid.  In this particular case they were not equivalent.
> Fix:
> - was able to simplify and remove some redundant code, using instead
> persistable.dnGetStateManager().isNew(persistable)
> as the mechanism to determine in preStore/postStore whether we are dealing 
> within an insert or an update.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to