Description
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.
Attachments
Issue Links
- is related to
-
CAUSEWAY-2441 Auditing/Publishing: dispatch calls happen before enlist calls
- Closed