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

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Aug 19 05:14:29 EDT 2009


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

Max Rydahl Andersen updated JBIDE-3494:
---------------------------------------

    Fix Version/s: 3.1.0.M4
                       (was: 3.1.0.M3)


moved because of no update.

> using source tab breaks Diagram view (UI changes are not undone cleanly)
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-3494
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3494
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: jbpm
>    Affects Versions: 3.0.0.cr1
>            Reporter: Nick Boldt
>            Assignee: Koen Aers
>            Priority: Minor
>             Fix For: 3.1.0.M4
>
>
> 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 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 jbosstools-issues mailing list