Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-422
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-422
Summary: Deferred propagated key error on M10
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Components:
Cayenne Core Library
Versions:
1.2 [DEV]
Assignee: Andrus Adamchik
Reporter: weidox
Created: Tue, 24 Jan 2006 2:37 AM
Updated: Tue, 24 Jan 2006 2:37 AM
Environment: winxp, sun java 1.5 upd6
Description:
You can read more about this on http://www.objectstyle.org/cayenne/lists/cayenne-user/2005/12/0168.html . I get the same symptoms as here - no exception on M7 but exception on M10. So I made some inspection of my cayenne model, and looks like issue is here. I have 2 tables, say parent and child. Child table has two relationships to parent (like child.parent1_id to parent.id and child.parent2_id to parent.id). One of these relationships has the checkbox "To Dep PK" marked. I didn't do it and I can't unselect it because this checkbox is disabled on both relationships. So in program, if I make some changes and there was a call to childObject.getParent1() or childObject.getParent2(), commit fails with exception.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Tue Jan 24 2006 - 02:38:38 EST