[jboss-jira] [JBoss JIRA] Created: (GPD-31) Make sure all tasks in a process definition have a unique name
Koen Aers (JIRA)
jira-events at jboss.com
Tue Jan 16 09:43:53 EST 2007
Make sure all tasks in a process definition have a unique name
--------------------------------------------------------------
Key: GPD-31
URL: http://jira.jboss.com/jira/browse/GPD-31
Project: JBoss jBPM GPD
Issue Type: Task
Components: jpdl
Affects Versions: jBPM JPDL Designer 3.1.0 alpha1
Reporter: Koen Aers
Assigned To: Koen Aers
Fix For: jBPM JPDL Designer 3.1.0.alpha3
When retrieving all tasks from a process definition like so:
processDefinition.getTaskMgmtDefinition().getTasks()
it returns a MAP of tasks, keyed by task name. This is a problem if two tasks anywhere in the same process definition have the same name.
By default, the GPD creates all tasks as "task1" when it is the first task on a task node. If none of these were renamed, you would only get a single task when trying to get all of them for the process definition.
--
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
More information about the jboss-jira
mailing list