[
http://jira.jboss.com/jira/browse/JBPM-1096?page=all ]
Ronald van Kuijk updated JBPM-1096:
-----------------------------------
Summary: Javadoc for NewProcessInstanceCommand.execute() not in line with
implementation (was: NewProcessInstanceCommand.execute() return ProcessInstance object,
not id as mentioned in docs.)
Fix Version/s: jBPM 3.3
Affects: [Documentation (Ref Guide, User Guide, etc.)]
Priority: Minor (was: Major)
Javadoc for NewProcessInstanceCommand.execute() not in line with
implementation
-------------------------------------------------------------------------------
Key: JBPM-1096
URL:
http://jira.jboss.com/jira/browse/JBPM-1096
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM jPDL 3.2.2
Reporter: Alexey Kostylev
Assigned To: Tom Baeyens
Priority: Minor
Fix For: jBPM 3.3
As I looked into the source I saw that this method return the whole object:
Object result = null;
if (createStartTask) {
result = processInstance.getTaskMgmtInstance().createStartTaskInstance();
} else {
result = processInstance;
}
But doc says that:
/**
* return the id of the newly created process instance.
* @throws Exception
*/
public Object execute(JbpmContext jbpmContext) throws Exception {
...
}
--
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