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

Exception when setting Graphql variable as null or empty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.14.0
    • None
    • Data Index
    • None
    • Hide
      query ($where: ProcessInstanceArgument) {
        ProcessInstances(where: $where) {
          id
        }
      }
      
       { "where": { "businessKey": { "in": [ ] } } }
      

      "message": "Exception while fetching data (/ProcessInstances) : org.infinispan.objectfilter.ParsingException: ISPN028526: Invalid query: from org.kie.kogito.index.model.ProcessInstance o where and o.parentProcessInstanceId is null and o.state in (1); Parser error messages: [[statement, selectStatement, querySpec, whereClause, logicalExpression, expression, logicalOrExpression, logicalAndExpression, negatedExpression, equalityExpression]: line 1:62 state 5 (decision=33) no viable alt; token=[@21,62:62='.',<25>,1:62]].",

      Show
      query ($where: ProcessInstanceArgument) { ProcessInstances(where: $where) { id } }  { "where" : { "businessKey" : { " in " : [ ] } } } "message": "Exception while fetching data (/ProcessInstances) : org.infinispan.objectfilter.ParsingException: ISPN028526: Invalid query: from org.kie.kogito.index.model.ProcessInstance o where and o.parentProcessInstanceId is null and o.state in (1); Parser error messages: [ [statement, selectStatement, querySpec, whereClause, logicalExpression, expression, logicalOrExpression, logicalAndExpression, negatedExpression, equalityExpression] : line 1:62 state 5 (decision=33) no viable alt; token= [@21,62:62='.',<25>,1:62] ].",
    • 2020 Week 31-33 (from Jul 27)

          cnicolai@redhat.com Cristiano Nicolai
          cnicolai@redhat.com Cristiano Nicolai
          Tristan Radisson Tristan Radisson
          Tristan Radisson Tristan Radisson
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: