Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
(Java) V4 4.4.0
-
None
-
None
Description
I have an Entity with a CsdlProperty of type EdmPrimitiveTypeKind.Guid and collection true.
When I try to apply a system filter on the entity for that property, for example:
Name of the entity: Email
Property which is a collection and has a list of Guid's: Recipient
Odata rest call:
https://sampleodataservice/email?$filter=recipient eq 645bc5dd-b83f-41e1-af0b-a0ae56ef667d
I am seeing the below response:
A collection expression is not allowed.
The above call used to work with the Apache Olingo 4.3.0 but it is failing with the new Apache Olingo 4.4.0. I see that the changes in Expression Parser class to check the collection element is creating this exception.
References:
https://issues.apache.org/jira/browse/OLINGO-1028
Could you please provide some information on how to add a filter on a collection property which has elements of type Edm.Guid.
Thanks and Regards,
Abhilash