]
Tom Baeyens resolved JBPM-2284.
-------------------------------
Fix Version/s: jBPM 4.0.CR1
Resolution: Done
Assignee: Tom Baeyens
Process definition search by name does not work
-----------------------------------------------
Key: JBPM-2284
URL:
https://jira.jboss.org/jira/browse/JBPM-2284
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.0.0.Beta2
Reporter: Alexis Seigneurin
Assignee: Tom Baeyens
Fix For: jBPM 4.0.CR1
Searching for a process definition by its name does not work. Here is the code in
ProcessDefinitionQueryImpl:
if (nameLike!=null) {
appendWhereClause("idProperty.objectName like '"+nameLike+"'
", hql);
}
if (name!=null) {
appendWhereClause("idProperty.objectName = '"+nameLike+"'
", hql);
}
As you can see, it is using the "nameLike" property when you specify the
"name" property.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: