Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-2741

Dashboard query fails after logging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.6
    • Fix Version/s: 5.1.x, 5.2 M3
    • Component/s: Workflow

      Description

      If a user belongs to a group whose name contains an apostrophe " ' ", the query used to get process instances fails because the syntax is not correct. The apostrophe is not escaped.
      Below is an example of a query that fails:

      [select si.processInstance, si.value from org.jbpm.context.exe.variableinstance.StringInstance si where si.name = 'author' and si.value in ('Direction des systemes d'information','Etudes DSI','members','administrators','foo') and si.processInstance.end is null ]

        Attachments

          Activity

            People

            • Assignee:
              tmartins Thierry Martins
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: