[jbosstools-issues] [JBoss JIRA] (JBIDE-3494) using source tab breaks Diagram view (UI changes are not undone cleanly)

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Jun 18 10:37:24 EDT 2013


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

Max Rydahl Andersen closed JBIDE-3494.
--------------------------------------

    Resolution: Out of Date


This issue have not seen updates in 100 weeks and thus it has most likely been fixed somewhere else or not
being actively monitored.

If your issue is still important for you, please try latest released version and if the issue persists or the feature is still missing 
please open a new issue with a link to this issue.


                
> using source tab breaks Diagram view (UI changes are not undone cleanly)
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-3494
>                 URL: https://issues.jboss.org/browse/JBIDE-3494
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jbpm
>    Affects Versions: 3.0.0.cr1
>            Reporter: Nick Boldt
>            Assignee: Koen Aers
>            Priority: Minor
>             Fix For: LATER
>
>
> Tested with JBoss Dev Studio Version: 2.0.0.CR1, Build id: R200812221144
> Steps to repro:
> 1. Install JBDS.
> 2. download http://www.jboss.org/downloading/?projectId=jbossjbpm&url=http://downloads.sourceforge.net/jbpm/jbpm-installer-3.3.0.GA.jar
> 3. `java -jar jbpm-installer-3.3.0.GA.jar`. I installed into ~/jbpm-3.3.0.GA
> 4. New > Other > Process Project
> 5. Go into src/main/jpdl/simple and open processdefinition.xml with jBPM Graphical Process Designer
> 6. Add a couple nodes, then connect them to the existing flow. Or create your own. 
> 7. Switch to Source tab. I had this: 
> <?xml version="1.0" encoding="UTF-8"?>
> <process-definition  xmlns="urn:jbpm.org:jpdl-3.2"  name="simple">
> 	<start-state name="start-state1">
> 		<transition to="state1"></transition>
> 	</start-state>
> 	<state name="state1">
> 		<transition to="end-state2"></transition>
> 	</state>
> 	<end-state name="end-state2"></end-state>
> </process-definition>
> and gpd.xml contained this -- three nodes in top-left to bottom-right cascade:
> <?xml version="1.0" encoding="UTF-8"?>
> <root-container name="simple" width="1058" height="740">
>   <node name="start-state1" x="32" y="19" width="132" height="36">
>     <edge>
>       <label x="5" y="-10"/>
>     </edge>
>   </node>
>   <node name="state1" x="77" y="103" width="132" height="36">
>     <edge>
>       <label x="5" y="-10"/>
>     </edge>
>   </node>
>   <node name="end-state2" x="115" y="203" width="132" height="36"/>
> </root-container>
> 8. On the Source tab of the jBPM editor, select the middle state node and cut it out (CTRL-X). Note the outline view refreshes correctly.
> 9. Paste it back in, perhaps in the same location from where it was cut. (Use case: user wants to reorder the XML for personal taste reasons, or accidentally deleted and restored a block of XML).
> 10. Switch to diagram view. The middle node "state1" is now at (0,0) instead of where it used to be, eg., at (77,103)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list