You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Vincent Benoit (Jira)" <ji...@apache.org> on 2020/04/08 10:22:00 UTC
[jira] [Created] (OLINGO-1445) Simple quote in a string filtering
not works
Vincent Benoit created OLINGO-1445:
--------------------------------------
Summary: Simple quote in a string filtering not works
Key: OLINGO-1445
URL: https://issues.apache.org/jira/browse/OLINGO-1445
Project: Olingo
Issue Type: Bug
Components: odata2-jpa
Affects Versions: V2 2.0.10
Reporter: Vincent Benoit
Hello,
When i try to filtering a string attribute with a value that contains a single quote, the JPA processor returns no values.
Step to reproduce:
* Create a entity with string attribute
* Save a string with a single quote in that attribute like foo'bar
* Try to filter on that value
* The following filter has been generated : $filter=(substringof(%27foo%27%27%27,tolower(STRING_ATTRIBUT))
* No value is returned
--
This message was sent by Atlassian Jira
(v8.3.4#803005)