[jboss-jira] [JBoss JIRA] Updated: (GPD-234) Two Nodes with the same name

Koen Aers (JIRA) jira-events at lists.jboss.org
Fri Nov 6 12:27:05 EST 2009


     [ https://jira.jboss.org/jira/browse/GPD-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koen Aers updated GPD-234:
--------------------------

    Fix Version/s: jBPM jPDL Designer 3.x


> Two Nodes with the same name
> ----------------------------
>
>                 Key: GPD-234
>                 URL: https://jira.jboss.org/jira/browse/GPD-234
>             Project: jBPM GPD
>          Issue Type: Bug
>          Components: jpdl
>    Affects Versions: jBPM jPDL Designer 3.1.3
>         Environment: Eclipse 3.3.2
>            Reporter: Sven Daumann
>            Assignee: Koen Aers
>             Fix For: jBPM jPDL Designer 3.x
>
>
> step1: Create a Node and put a transition to this Node.
> step2: Rename the Node and use the name of an existing Node.
> The GPD show both Nodes with Transitions.
> step3: Close the diagram
> step4: Reopen the diagram
> problem: Only one Node is visible, the two transitions go to the one Node. 
> step5: Move the Node. The moving Node has no transition. Under the moved Node, the other Node is now visible, with both transitions.
> During rename, there is no warning, that another Node with the same name exist.
> The XML data contains two Nodes.
> processdefinition.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <process-definition xmlns="" name="Test">
>   <start-state name="start-state1">
>     <transition to="node1" name="startet"></transition>
>   </start-state>
>   <node name="node1">
>     <transition to="node2" name="ok"></transition>
>     <transition to="Test" name="toTest"></transition>
>   </node>
>   <node name="node2">
>     <transition to="end-state1" name="ok"></transition>
>     <transition to="Test" name="toTest"></transition>
>   </node>
>   <task-node name="Test"></task-node>
>   <task-node name="Test"></task-node>
>   <end-state name="end-state1"></end-state>
> </process-definition>
> gpd.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <root-container name="Test" width="675" height="634">
>   <node name="start-state1" x="375" y="272" width="132" height="36">
>     <edge>
>       <label x="5" y="-10"/>
>     </edge>
>   </node>
>   <node name="node1" x="374" y="353" width="132" height="36">
>     <edge>
>       <label x="5" y="-10"/>
>     </edge>
>     <edge>
>       <label x="5" y="-10"/>
>     </edge>
>   </node>
>   <node name="node2" x="378" y="448" width="132" height="36">
>     <edge>
>       <label x="5" y="-10"/>
>     </edge>
>     <edge>
>       <label x="5" y="-10"/>
>     </edge>
>   </node>
>   <node name="end-state1" x="383" y="548" width="132" height="36"/>
>   <node name="Test" x="172" y="347" width="132" height="36"/>
>   <node name="Test" x="174" y="451" width="132" height="36"/>
> </root-container>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list