Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-785

REST Query API: regular expression parameters are unknown for the server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.3.0
    • 6.2.0
    • Business Central
    • None

      +++ This bug was initially created as a clone of Bug #1260909 +++

      Description of problem:
      When you make a rest call with a query containing regular expression parameters, an answer with BAD_REQUEST status will be returned. The affected parameters are:

      deploymentId_re
      processId_re
      processVersion_re
      varId_re
      varValue_re

      Version-Release number of selected component (if applicable):
      6.2.0 ER1

      Steps to Reproduce:
      1. Try for example http://localhost:8080/business-central/rest/query/runtime/process?deploymentId_re=*
      2. See the response.

      Actual results:
      A message with BAD_REQUEST status. See the attachment for the exception on the server side.

      Expected results:
      Some process instances or empty list.

      Additional info:
      All these parameters work well without the '_re' suffix.

      — Additional comment from Tomas Livora on 2015-09-15 06:03:53 EDT —

      This also applies to task parameters with regular expressions:

      initiator_re
      stakeholder_re
      potentialowner_re
      taskowner_re
      businessadmin_re

      — Additional comment from Marco Rietveld on 2015-12-14 15:37:42 EST —

      PR submitted: https://github.com/droolsjbpm/droolsjbpm-integration/pull/255

      — Additional comment from Marco Rietveld on 2015-12-18 13:50:09 EST —

      Fixed. Commits:

      master:
      https://github.com/droolsjbpm/droolsjbpm-integration/commit/67279008

              marco.rietveld Marco Rietveld (Inactive)
              rhn-support-alazarot Alessandro Lazarotti
              Tomáš Livora Tomáš Livora (Inactive)
              Tomáš Livora Tomáš Livora (Inactive)
              Alessandro Lazarotti, Kris Verlaenen, Lukáš Petrovický (Inactive), Marco Rietveld (Inactive), Tomas 'Sheldon' Radej, Tomáš Livora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: