-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.13.0
The query parameter 'deserializeValue' of the REST URL "/process-instance/{id}/variables" has no effect, the returned process variables are deserialized in any case. Same applies for the REST URL "/task/{id}/variables".
The cause is a wrong parameter name in the OpenApi specification openapi.json (from archive: camunda-engine-rest-openapi-7.13.0.jar). Line 9793 and line 14841: the variable is exptected to be 'deserializeValues' (not 'deserializeValue'). Therefore the decoding of the query parameters goes wrong.
Note that the documentation is correct:
https://docs.camunda.org/manual/7.13/reference/rest/process-instance/variables/get-variables/
https://docs.camunda.org/manual/7.13/reference/rest/task/variables/get-task-variables/
Hi phlox,
thanks for opening that bug report and for digging into it already.
I looked into the OpenAPI description and I think that you're right about your findings.
We will move this into decision making and notify you once there is progress.
If you're up to it, you can also open a PR in the repository and fix it. This will of course speed up the inclusion of the fix in the next version.
If you'd like any pointers for that, let us know!
Thanks again and best regards,
Tobias