Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-321
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-321
Summary: cross-DataMap ObjRelationship loses DbRelationships on load
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Assignee: Andrus Adamchik
Reporter: Mike Kienenberger
Created: Thu, 26 May 2005 3:23 PM
Updated: Thu, 26 May 2005 3:23 PM
Description:
cross-DataMap ObjRelationship loses (or fails to create) DbRelationships on project load.
If you create an ObjRelationship between two DataMaps in the same node, then reload the model, objRelationship.dbRelationships is null as is dbRelationshipsRef's contents.
When the relationship is created (or recreated with "Sync with DBEntity"), dbRelationships and dbRelationshipsRef are both populated.
In both cases, dbRelationshipPath is null, which doesn't appear to be the case for other items and may be related.
This causes objRelationship validation to fail with "ObjectRelationship <Rank.role> has no DbRelationship mapping." I don't know if there are any other side effects since I don't know how a "correct" ObjRelationship behaves in this situation.
---------------------------------------------------------------------
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 : Thu May 26 2005 - 15:23:19 EDT