]
Alejandro Guizar resolved JBPM-2475.
------------------------------------
Resolution: Done
sub-process name is not resolved upon deployment with Eclipse or
ant-task
-------------------------------------------------------------------------
Key: JBPM-2475
URL:
https://jira.jboss.org/jira/browse/JBPM-2475
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Console, Runtime Engine
Affects Versions: jBPM 3.2.5.SP5
Reporter: Toshiya Kobayashi
Assignee: Alejandro Guizar
Fix For: jBPM 3.2.7
Attachments: mylyn-context.zip
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
If you omit binding attribute for <sub-process> in <process-state> and deploy
the process definition with Eclipse or org.jbpm.ant.DeployProcessToServerTask, resolving
sub-process will fail. When you run the parent process with jbpm-console after the
deployment, jbpm-console will show -- "org.jbpm.JbpmException" was thrown. The
message is: can't create a process instance when processDefinition is null --
ProcessUploadServlet calls jbpmConfiguration.createJbpmContext() after parsing and before
deploying. If jbpmContext is not created before parsing, sub-process won't be
resoleved(the call to DbSubProcessResolver.findSubProcess returns null.). So the default
behaviour of binding attribute(parse time resolving) will fail.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: