]
Alejandro Guizar updated JBPM-2460:
-----------------------------------
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Patch applied and jsf-console redeployed.
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: Alejandro Guizar
Fix For: jBPM 3.2.7
Attachments: JBPM-2460.patch
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
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: