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:33:00 UTC

[jira] [Updated] (OLINGO-1445) Single quote in a string filtering not works as expected

     [ https://issues.apache.org/jira/browse/OLINGO-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Benoit updated OLINGO-1445:
-----------------------------------
    Summary: Single quote in a string filtering not works as expected  (was: Single quote in a string filtering not works)

> Single quote in a string filtering not works as expected
> --------------------------------------------------------
>
>                 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
>            Priority: Major
>
> 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 with substringof operator on that value
>  * The following filter has been generated : $filter=(substringof(%27foo%27%27%27,tolower(STRING_ATTRIBUT))
>  * No value is returned
> Maybe related to issue OLINGO-1158



--
This message was sent by Atlassian Jira
(v8.3.4#803005)