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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 0.9.1
    • 0.9.0
    • Data Index
    • None
    • 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

            cnicolai@redhat.com Cristiano Nicolai
            jstastny@redhat.com Jan Stastny
            Jan Stastny Jan Stastny
            Jan Stastny Jan Stastny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: