Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14719

In Task Query REST API, sorting parameter "updatedAfter" is not documented correctly

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.18.0, 7.18.0-alpha4
    • None
    • None
    • None

    Description

      Environment (Required on creation):

      Camunda Automation Platform 7.18.0-alpha2

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      In the task query REST API, the name of the sorting option is documented as lastUpdated but updatedAfter is actually implemented.

      Steps to reproduce (Required on creation):

      Compare implementation with documentation:

      Observed Behavior (Required on creation):

      lastUpdated is documented but updatedAfter is implemented.

      Expected behavior (Required on creation):

      Sort option names in the documentation and implementation are the same.

      Root Cause (Required on prioritization):

      Inconsistency in documentation and implementation.

      Solution Ideas (Optional):

      Since the property itself on the entity is called lastUpdated, sorting according to lastUpdated makes more sense. Sorting according to updatedAfter sounds unintuitive.

      Hints (optional):

      Make sure to correct the Open API as well.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                miklas.boskamp Miklas Boskamp
                tassilo.weidner Tassilo Weidner
                Miklas Boskamp Miklas Boskamp
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce