Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0M5
-
None
Description
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.