cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1260) Modeler support for embeddables and embedded attributes
Date Sat, 03 Oct 2009 08:22:23 GMT

    [ https://issues.apache.org/jira/browse/CAY-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761826#action_12761826
] 

Andrus Adamchik commented on CAY-1260:
--------------------------------------

Olga, here is what I found during patch testing. 1-3 can be added later as a separate patch,
but #4 is a show stopper, so I can't commit the patch now.

1. when changing java package for the DataMap, it does not update embeddables.
2. "In" (editable) column for embeddable attributes - it is not needed as inheritance is not
supported for Embeddables
3. No validation for missing Java type of embeddables
4. Error when clicking on the ObjAtribute inspector:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: cannot add to layout:
constraint must be a string
	at java.awt.CardLayout.addLayoutComponent(CardLayout.java:190)
	at java.awt.Container.addImpl(Container.java:1058)
	at java.awt.Container.add(Container.java:390)
	at org.apache.cayenne.modeler.dialog.objentity.ObjAttributeInfoDialogView.<init>(ObjAttributeInfoDialogView.java:165)
	at org.apache.cayenne.modeler.dialog.objentity.ObjAttributeInfoDialog.<init>(ObjAttributeInfoDialog.java:97)
	at org.apache.cayenne.modeler.editor.ObjEntityAttributeTab$2.actionPerformed(ObjEntityAttributeTab.java:158)

> Modeler support for embeddables and embedded attributes
> -------------------------------------------------------
>
>                 Key: CAY-1260
>                 URL: https://issues.apache.org/jira/browse/CAY-1260
>             Project: Cayenne
>          Issue Type: Task
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: Short term future
>
>         Attachments: Embeddable.txt, Embeddable1.txt, icon-embeddable.gif, icon-new_embeddable.gif,
InspectorObjAttrAndEmbAttributes.txt, InspectorObjAttrAndEmbAttributes.txt
>
>
> Need to implement Modeler support for mapping embeddable objects and including them in
ObjEntities.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message