cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Sánchez (JIRA) <j...@apache.org>
Subject [jira] [Created] (CAY-1808) Duplicate ObjRelationship with inheritance
Date Mon, 15 Apr 2013 10:20:16 GMT
Manuel Sánchez created CAY-1808:
-----------------------------------

             Summary: Duplicate ObjRelationship with inheritance
                 Key: CAY-1808
                 URL: https://issues.apache.org/jira/browse/CAY-1808
             Project: Cayenne
          Issue Type: Improvement
          Components: Modeler
    Affects Versions: 3.0.1
            Reporter: Manuel Sánchez
            Priority: Minor


Working with inheritance and copy/pasting relationships (maybe i messed  things too much)
i came up with an invalid model without any warning.
 
My model contained an ObjRelationship twice on the super class and the subclass. The modeler
grays out those but it do not prevent them from existing. So i spent some time figuring out
why my program was repeating that relationship and copying that object twice.

I think the modeler could show a warning or remove the subclass's relationship declaration
(xml) using the same knowledge that uses to gray them out on the modeler.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message