cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2087) PostCommitFilter is confused about changes made by Pre* listeners
Date Tue, 24 May 2016 11:12:12 GMT
Andrus Adamchik created CAY-2087:
------------------------------------

             Summary: PostCommitFilter is confused about changes made by Pre* listeners
                 Key: CAY-2087
                 URL: https://issues.apache.org/jira/browse/CAY-2087
             Project: Cayenne
          Issue Type: Bug
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik


Given a Cayenne stack with:

1. Custom Pre[Persist|Update] listeners that create/delete objects related to the target listener
object. 
2. Standard PostCommitFilter that captures commit log.

Desired Behavior:

All objects added or deleted inside the listener should appear in the commit log the same
way any normal objects do.  

Observed Behavior:

Objects deleted by the listeners are excluded from commit log. Objects added by the listeners
are included in commit log, but their properties are not tracked.

 



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

Mime
View raw message