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-1459) Modeler: DbEntities from other DataMaps under same domain are not displayed
Date Wed, 30 Jun 2010 17:03:52 GMT

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

Andrus Adamchik commented on CAY-1459:
--------------------------------------

Rostislav's patch fixes the first part of the problem - mapping ObjEntity to DbEntity. There's
also another scenario with mapping DbRelationships between 2 DbEntities. (and maybe other
places?)

One comment on the patch though. This is incorrect, as client properties are actually enabled
per DataMap policy. So this code is not needed:

@@ -442,7 +443,7 @@ public class ObjEntityTab extends JPanel implements ObjEntityDisplayListener,
 
         // toggle visibilty and editability rules
 
-        toggleClientFieldsVisible(map.isClientSupported());
+        toggleClientFieldsVisible(true);

Also not sure about CellRenderers changes?

> Modeler: DbEntities from other DataMaps under same domain are not displayed
> ---------------------------------------------------------------------------
>
>                 Key: CAY-1459
>                 URL: https://issues.apache.org/jira/browse/CAY-1459
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 3.1M1
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.1M1
>
>         Attachments: 0001-Modeler-DbEntities-from-other-DataMaps-under-same-d.patch
>
>
> The new 3.1 Modeler does not show DbEntities from other DataMaps in the same project.
This worked in 3.0. Steps to reproduce:
> 1. Create a project with 2 DataMaps and some DbEntities in each DataMap.
> 2. Create ObjEntity in one DataMap. 
> 3. Table/View dropdown will only contain DbEntities from the ObjEntity's DataMap. (compare
this to Modeler v. 3.0 - it will show DbEntities from both maps)
> A similar scenario is targets of DbRelationships.

-- 
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