Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Given a Cayenne stack with:
1. Custom Pre[Persist|Update] listeners that create/delete objects related to the target listener object.
2. Standard PostCommitFilter (CAY-2030) that captures commit log. "excludeFromTransaction" is not used (i.e. PostCommitFilter is called inside TransactionFilter).
Desired Behavior:
All objects added, updated, deleted inside the listener should appear in the commit log the same way any normal objects do.
Observed Behavior:
Objects deleted and updated by the listeners are excluded from commit log. Objects added by the listeners are included in commit log, but their properties are not tracked.