Changing the node name does not update arriving edges
-----------------------------------------------------
Key: GPD-189
URL:
http://jira.jboss.com/jira/browse/GPD-189
Project: JBoss jBPM GPD
Issue Type: Bug
Components: jpdl
Environment: Windows 2000, Eclipse 3.3.1.1, GEF 3.3.1
Latest designer sources from CVS.
Reporter: Matthias Hanisch
Assigned To: Koen Aers
Following steps to reproduce:
- Create new process definition
- Add a start and an end node
- Create a transition between start and end
- Rename the end node
Problem: Transition "to" attribute is not updated to the new name of the end
node.
Happens with the latest CVS tree. Problem seems to be around the recent changes of
JpdlNode. The added condition
if (evt.getSource() != getSemanticElement()) {
updateArrivingEdges((String)evt.getNewValue());
}
prevents, that the arriving transition is updated in the example above (evt.getSource is
identical to getSemanticElement()).
Hope this description helps a little bit to localize this bug. As a workaround, I will
call updateArrivingEdges() unconditionally, as it was in previous versions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira