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-1839) Modeler: Improving linking of DataMaps to DataNodes
Date Fri, 10 Oct 2014 13:31:34 GMT

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

Andrus Adamchik commented on CAY-1839:
--------------------------------------

Applied Savva's patch. Works great. Two more  things that I noticed that may not be directly
related, but we should probably fix them here:

1. When I remove DataMaps linked to a DataNode, sometimes the DataMap itself is preserved
and only the link is removed (correct), but sometimes the DataMap itself is removed. It's
been kind of unpredictable as to what operation would happen. It happened more often with
multiple DataMap selection, and less often with only one DM selection. This behavior predates
the patch. 

2. Say I have a new project with one DataNode and nothing else. I start adding DataMaps. The
first one added is also linked to DataNode, but second, third, etc. are not. This is a small
inconsistency that also predates this patch. The rule should be the following: if a project
has only one DN, any newly added DM should be linked to it.

3. Related to 2 - if I have 2 DNs the first created map is linked to one of them. This should
not happen. If we have 2 DNs we have no way of knowing which one to link to

> Modeler: Improving linking of DataMaps to DataNodes
> ---------------------------------------------------
>
>                 Key: CAY-1839
>                 URL: https://issues.apache.org/jira/browse/CAY-1839
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 3.2.M1
>         Environment: Linux
>            Reporter: ArtyomN
>         Attachments: 1839.txt, CAY-1839, DnD.ogv, after1.png, after2.png, after3.png,
after4.png, after5.png, after6.png, after7.png, before.png, newPatch.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> We need to simplify linking of DataMaps to DataNodes. Per this Jira we would support
drag and drop of DataMaps to the target nodes and also a contextual menu on DataNode allowing
to link all unlinked DMs to it



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message