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

REST API: Wrong query parameter name 'deserializeValue' in ProcessInstance API and Task API

      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/

        This is the controller panel for Smart Panels app

            [CAM-12391] REST API: Wrong query parameter name 'deserializeValue' in ProcessInstance API and Task API

            Daniel Brugger created issue -
            Daniel Brugger made changes -
            Description Original: 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 '_deserializeValue*s*_' (not '_deserializeValue_'). Therefore the decoding of the query parameters goes wrong.
            New: 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.
            Daniel Brugger made changes -
            Mentioned Roles
            Daniel Brugger made changes -
            Mentioned Groups
            Daniel Brugger made changes -
            Daniel Brugger made changes -
            Description Original: 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.
            New: 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/]
            Daniel Brugger made changes -
            Mentioned Roles
            Daniel Brugger made changes -
            Mentioned Groups
            Tobias Metzke-Bernstein made changes -
            Assignee New: Tobias Metzke-Bernstein [ tobias.metzke ]
            Tobias Metzke-Bernstein made changes -
            Link New: This issue is related to CAMTEAM-117 [ CAMTEAM-117 ]

              Unassigned Unassigned
              phlox Daniel Brugger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: