Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8983

Invalid Ickle query causes server exception

    Details

    • Steps to Reproduce:
      Hide

      Execute curl -v -u user:user -X POST -d '

      {"query":"select id,name from Character where id:1009148","max_results":2}

      ' -H "Content-Type: application/json" "http://127.0.0.1:8080/rest/indexed?action=search" on https://github.com/gustavonalle/infinispan-marvel demo

      Show
      Execute curl -v -u user:user -X POST -d ' {"query":"select id,name from Character where id:1009148","max_results":2} ' -H "Content-Type: application/json" "http://127.0.0.1:8080/rest/indexed?action=search" on https://github.com/gustavonalle/infinispan-marvel demo

      Description

      I wrote an invalid Ickle query: select id, name from Character where id:"1009148" but instead of getting an error back the server side blew up with an exception. We should catch these cases and report back to the client the cause of the error.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gustavonalle Gustavo Fernandes
                Reporter:
                vblagojevic Vladimir Blagojevic
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: