Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1732

Data Index error when querying field ProcessInstances for serviceUrl sub-field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.1
    • Component/s: Data Index
    • Labels:
      None
    • Sprint:
      2020 Week 16-18 (from Apr 13)

      Description

      For a following query:

      { ProcessInstances {
        id,
        processId,
        processName,
        state,
        nodes {
          name,
          type,
          enter,
          exit
        },
        serviceUrl
      } }
      

      the GraphQL response:

      {
        "errors": [
          {
            "message": "Exception while fetching data (/ProcessInstances[0]/serviceUrl) : begin 0, end -1, length 6",
            "locations": [
              {
                "line": 14,
                "column": 5
              }
            ],
            "path": [
              "ProcessInstances",
              0,
              "serviceUrl"
            ],
            "extensions": {
              "classification": "DataFetchingException"
            }
          }
        ],
        "data": {
          "ProcessInstances": [
            {
              "id": "3851d904-f9c1-4767-b6f9-05dcb1dce7ec",
              "processId": "demo.orders",
              "processName": "orders",
              "parentProcessInstanceId": null,
              "rootProcessInstanceId": null,
              "roles": [],
              "state": "ACTIVE",
              "start": "2020-04-07T06:20:52.862Z",
              "lastUpdate": "2020-04-07T06:20:52.889Z",
              "addons": [
                "process-management"
              ],
              "businessKey": null,
              "serviceUrl": null,
              "error": null,
              "__typename": "ProcessInstance"
            }
          ]
        }
      }
      

        Attachments

          Activity

            People

            Assignee:
            cnicolai Cristiano Nicolai
            Reporter:
            jstastny Jan Stastny
            Tester:
            Jan Stastny Jan Stastny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: