Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-5

REST Query API: startDate and endDate parameters do not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • None
    • 6.x.x
    • Business Central
    • None

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

      Description of problem:
      When you use a process query containing either startDate or endDate as a single parameter, no process instances will be found.

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

      Steps to Reproduce:
      1. Deploy and run a process.
      2. Try http://localhost:8080/business-central/rest/query/runtime/process?startDate_min=*ENTER_TODAY_HERE*
      3. See that there is a single result.
      4. Try http://localhost:8080/business-central/rest/query/runtime/process?startDate=*ENTER_TODAY_HERE*

      Actual results:
      There is no result.

      Expected results:
      The process instance started in step 1 should be returned.

      Additional info:
      Note that all date range parameters (startDate_min, startDate_max, endDate_min, endDate_max) seem to be working as expected.

      — Additional comment from Marco Rietveld on 2015-12-14 15:36:56 EST —

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

      — Additional comment from Marco Rietveld on 2015-12-18 13:49:42 EST —

      Fixed. Commits:

      master:
      https://github.com/droolsjbpm/droolsjbpm-integration/commit/3c098ab7

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

                Created:
                Updated:
                Resolved: