You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2010/06/29 09:31:57 UTC

[jira] Created: (CAY-1459) Modeler: DbEntities from other DataMaps under same domain are not displayed

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


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.


[jira] Commented: (CAY-1459) Modeler: DbEntities from other DataMaps under same domain are not displayed

Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (CAY-1459) Modeler: DbEntities from other DataMaps under same domain are not displayed

Posted by "Rostislav (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rostislav updated CAY-1459:
---------------------------

    Attachment: 0002-Modeler-DbEntities-from-other-DataMaps-under-same-d.patch

added error correction

> 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, 0002-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.


[jira] Updated: (CAY-1459) Modeler: DbEntities from other DataMaps under same domain are not displayed

Posted by "Rostislav (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rostislav updated CAY-1459:
---------------------------

    Attachment: 0001-Modeler-DbEntities-from-other-DataMaps-under-same-d.patch

fix a problem

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