Ronny Bremer created OLINGO-1164:
------------------------------------

             Summary: $filter not accepted when combining lambda operator with 
another test
                 Key: OLINGO-1164
                 URL: https://issues.apache.org/jira/browse/OLINGO-1164
             Project: Olingo
          Issue Type: Question
          Components: odata4-server
    Affects Versions: (Java) V4 4.3.0
            Reporter: Ronny Bremer


I have two entities, both linked via navigation properties. This is a 1:n 
cardinality.

When trying to retrieve all records from entity1 with the following filters, 
all works as expected:
Entities1/$expand=Entities2&$filter=Name eq 'Test'
Entities1/$expand=Entities2&$filter=Entities2/all(e:e/Type eq 'type12')

however, when combining both filters, I get the following error:
The system query option '$filter' has the not-allowed value 
"Entities1/$expand=Entities2&$filter=Name eq 'Test' AND Entities2/all(e:e/Type 
eq 'type12')"

Is it true, that a lambda function can only by used independently of other 
filters?

Yours,

Ronny



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to