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

Invalid Ickle query causes server exception

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

      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.

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              vblagoje Vladimir Blagojevic (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: