You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/04/05 18:44:13 UTC
[jira] Closed: (CAY-1204) Incorrect relationship syncing in nested
CayenneContext's
[ https://issues.apache.org/jira/browse/CAY-1204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1204.
--------------------------------
Resolution: Fixed
> Incorrect relationship syncing in nested CayenneContext's
> ---------------------------------------------------------
>
> Key: CAY-1204
> URL: https://issues.apache.org/jira/browse/CAY-1204
> Project: Cayenne
> Issue Type: Bug
> Components: Cayenne Core Library
> Affects Versions: 3.0M5
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Fix For: 3.0M6
>
>
> Parent context does not record the change in to-one relationships synched from a child context. At the same time it incorrectly triggers a chain of events when setting to-many (via ToManyProperty.addTarget(..) / PersistentObjectList.add(..) / CayenneContext.propertyChanged(..)), so it appears as if things are working in a 1..N case (two bugs cancel each other). In the case of 1..1 relationship the problem becomes obvious - no changes are recorded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.