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

Koen Aers (JIRA) issues at jboss.org
Mon Sep 5 10:48:00 EDT 2016


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

Koen Aers resolved GPD-234.
---------------------------
    Resolution: Out of Date


> Two Nodes with the same name
> ----------------------------
>
>                 Key: GPD-234
>                 URL: https://issues.jboss.org/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 was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list