Ruslan Didyk created OLINGO-1072:
------------------------------------
Summary: $search query option doesn't work for numeric values
Key: OLINGO-1072
URL: https://issues.apache.org/jira/browse/OLINGO-1072
Project: Olingo
Issue Type: Bug
Components: odata4-server
Affects Versions: (Java) V4 4.3.0
Reporter: Ruslan Didyk
Do GET request to get data with $search query option which contains numeric
value:
Example: http://localhost:8080/OData.svc/author?$apply=search(25)
Means user wants to see all authors with 'age' equals to 25.
Actual result: Error is displayed:
response:
Status: 400 Bad request
Body: {"error":null, "message": "Expected token 'PHRASE, WORD' but found ''."}}
Expected result:
response:
Status: 200 OK
Body: all records that contains '25' value in any field.
BUT:
Example: http://localhost:8080/OData.svc/author?$apply=search("25") works fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)