[
https://issues.apache.org/jira/browse/ISIS-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood resolved ISIS-2423.
---------------------------------------
Resolution: Fixed
> 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)