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

Parameterize TaskQueryImpl values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jBPM 4.5
    • jBPM 4.3
    • None
    • None
    • Hide

      Can currently work around by removing the ' from the names and definitions before adding them to the database.

      Show
      Can currently work around by removing the ' from the names and definitions before adding them to the database.
    • Hide

      But a ' in either processInstanceId, activityName or processDefinitionId and try to query based on that value.

      Show
      But a ' in either processInstanceId, activityName or processDefinitionId and try to query based on that value.

    Description

      Currently all values except for groups and assignee are simply concatenated onto the query, this is pretty dangerous and breaks items when it should. For example I have a task name with a ' in the name, and if I try to query for that task I get an HQL error because it's not properly terminated.

      Attachments

        Activity

          People

            rebody HuiSheng Xu (Inactive)
            nstuart_jira Nick Stuart (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: