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

[QE](6.2.z)REST Query API: regular expression parameters are unknown for the server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.2.1
    • 6.2.0
    • Business Central
    • None
    • CR1
    • +
    • Hide
      When making a REST API call involving regular expressions with parameters enabling the use of regular expressions, a BAD_REQUEST status is returned. The parameters affected are those ending with "_re", such as deploymentId_re or initiator_re. The workaround is to use the parameter names without the "_re" suffix.
      Show
      When making a REST API call involving regular expressions with parameters enabling the use of regular expressions, a BAD_REQUEST status is returned. The parameters affected are those ending with "_re", such as deploymentId_re or initiator_re. The workaround is to use the parameter names without the "_re" suffix.

      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.

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

                Created:
                Updated:
                Resolved: