[
https://jira.jboss.org/jira/browse/JBPM-2460?page=com.atlassian.jira.plug...
]
Martin Putz updated JBPM-2460:
------------------------------
Attachment: JBPM-2460.patch
attaching the patch, initializing the JbpmContext *before*
ProcessDefinition.parseParZipInputStream(..) is called
sub-process name is not resolved upon deployment with the
jbpm-console
----------------------------------------------------------------------
Key: JBPM-2460
URL:
https://jira.jboss.org/jira/browse/JBPM-2460
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Console
Affects Versions: jBPM 3.2.6.SP1, jBPM 3.2.5.SP5
Reporter: Martin Putz
Assignee: Martin Putz
Attachments: JBPM-2460.patch
Using the upload process function of the jbpm-console web app, deploy two processes with
a parent-child relationship through a process-state node:
1. childprocess.par
<process-definition name="child">
[...]
</process-definition>
2. parentprocess.par
<process-definition name="parent">
[...]
<process-state name="process-state1">
<sub-process name="child" />
<transition to="end"></transition>
</process-state>
[...]
</process-definition>
After the two processes are deployed, the relation from the parent-process to the
child-process is not properly set in the database:
mysql> select ID_, NAME_, SUBPROCNAME_, SUBPROCESSDEFINITION_ from JBPM_NODE where
CLASS_ = 'C';
+-----+----------------+--------------+-----------------------+
| ID_ | NAME_ | SUBPROCNAME_ | SUBPROCESSDEFINITION_ |
+-----+----------------+--------------+-----------------------+
| 78 | process-state1 | NULL | NULL |
+-----+----------------+--------------+-----------------------+
1 row in set (0.00 sec)
This is due to the fact that the jbpm4jsf part initializes the JbpmContext *after* the
processdefinition.xml file is parsed, therefore the call to
DbSubProcessResolver.findSubProcess returns null.
--
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