Jeffrey  created USERGRID-859:
---------------------------------

             Summary: QueryTokenException on GET with QL containing quotes
                 Key: USERGRID-859
                 URL: https://issues.apache.org/jira/browse/USERGRID-859
             Project: Usergrid
          Issue Type: Story
            Reporter: Jeffrey 


We should have a better error message than this:
{
  "error": "query_token",
  "timestamp": 1436989676608,
  "duration": 0,
  "exception": "org.apache.usergrid.persistence.exceptions.QueryTokenException",
  "error_description": "NoViableAltException('\"'@[1:1: Tokens : ( T__31 | 
T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | LT | 
LTE | EQ | GT | GTE | BOOLEAN | AND | OR | NOT | ASC | DESC | CONTAINS | WITHIN 
| OF | UUID | ID | LONG | FLOAT | STRING | WS );])"
}

for this URL: GET http://api.usergrid.com/jwest1/sandbox/rapportive?ql=select * 
where first_name="Jeffrey"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to