Christian Späh created OLINGO-1470:
--------------------------------------
Summary: Cannot Filter on NavigationProperty with ManyToMany and
combined with AND
Key: OLINGO-1470
URL: https://issues.apache.org/jira/browse/OLINGO-1470
Project: Olingo
Issue Type: Bug
Components: odata2-jpa
Affects Versions: V2 2.0.11
Reporter: Christian Späh
The query on a NavigationProperty with ManyToMany with multiple OR-linked
filters works fine. The following query returns the expected results:
odata.svc/Entities1?$filter=Entities2/Property1 EQ 1 OR Entities2/Property1 EQ
2&$expand=Entities2
The same query with an AND operator returns an empty result set, even though
matching entries exist:
odata.svc/Entities1?$filter=Entities2/Property1 EQ 1 AND Entities2/Property1 EQ
2&$expand=Entities2
No error is thrown.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)