[
https://jira.jboss.org/jira/browse/JBIDE-3492?page=com.atlassian.jira.plu...
]
Nick Boldt commented on JBIDE-3492:
-----------------------------------
So it's end-user expectation of function vs. pretty xml files? Aargh.
/me shakes head
Maybe I'm not the right person to voice an opinion here, since I've only just
started using jBPM last week. But IMHO I'd rather see the tool not behaving in a
(seemingly) random way w.r.t. labels than worry about the contents of the XML, especially
since the source editor has some, uh, issues with data corruption, reported in JIRAs
elsewhere.
If the point of a GUI tool is to not need to view source, then why do we care how terse
the source ends up being?
Anyway, I'll leave it with you. If you want to bring this to TomB, by all means. If
you're satisfied with the usability and (seemingly) random allocation of labels (I
know, it's not, it just seems that way at first) then I'm satisfied too.
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://down...
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