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

Invalid Ickle query causes server exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.2.1.Final
    • 9.2.0.Final
    • Remote Querying
    • None
    • 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.

      Attachments

        Activity

          People

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            vblagoje Vladimir Blagojevic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: