-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
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:
- https://github.com/camunda/camunda-bpm-platform/blob/master/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/task/TaskQueryDto.java#L75
- https://github.com/camunda/camunda-docs-manual/blame/master/content/reference/rest/task/get-query.md#L542
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.
This is the controller panel for Smart Panels app
- is caused by
-
CAM-14303 Extend API to query for Tasks updated after a specified date
- Closed