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] [Closed] (CAY-2087) PostCommitFilter is confused about changes made by Pre* listeners
Date Tue, 24 May 2016 15:01:13 GMT

     [ https://issues.apache.org/jira/browse/CAY-2087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik closed CAY-2087.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.M4

> 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
>             Fix For: 4.0.M4
>
>
> 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.
>  



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

Mime
View raw message