Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2284

Process definition search by name does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 4.0.CR1
    • jBPM 4.0.0.Beta2
    • Runtime Engine
    • None

      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.

            tom.baeyens Tom Baeyens (Inactive)
            alxsei Alexis Seigneurin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: