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
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira