[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3492) When creating Transitions... sometimes you feel like a name, sometimes you don't

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Jan 12 12:42:04 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12447396#action_12447396 ] 

Max Rydahl Andersen commented on JBIDE-3492:
--------------------------------------------

yes - but why introduce this additional complexity and not just always give them a name so no matter which sequence I create the transitions in it will behave the same ?

> When creating Transitions... sometimes you feel like a name, sometimes you don't
> --------------------------------------------------------------------------------
>
>                 Key: JBIDE-3492
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3492
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jbpm
>    Affects Versions: 3.0.0.cr1
>            Reporter: Nick Boldt
>            Assignee: Koen Aers
>             Fix For: 3.0.0.CR2
>
>
> Sorry for the Mounds/Almond Joy reference in the issue title. The actual problem is that when creating Transitions with the jBPM Graphical Process Designer, sometimes you get labels, and sometimes you don't... seemingly at random. Sometimes when I create two-way references I get one label, or two, or none.
> 		<transition to="end-state2"></transition>
> vs.
> 		<transition to="end-state1" name="to end-state1"></transition>
> --
> 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 a new flow from scratch.
> 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="fork1"></transition>
> 	</state>
> 	<fork name="fork1">
> 		<transition to="end-state2"></transition>
> 		<transition to="end-state1" name="to end-state1"></transition>
> 	</fork>
> 	<end-state name="end-state1"></end-state>
> 	<end-state name="end-state2"></end-state>
> </process-definition>
> In this case, I created 4 Transitions and only one was given a default name, "to end-state1".

-- 
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