Frederik Zimmer created OLINGO-1122:
---------------------------------------

             Summary: Addressing derived complex types in filter not working
                 Key: OLINGO-1122
                 URL: https://issues.apache.org/jira/browse/OLINGO-1122
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: (Java) V4 4.3.0
            Reporter: Frederik Zimmer


I have a filter like this (the any is propably not relevant to this bug):
complexCollection/any(a:a/com.someType/derivedProperty eq false)

I try to address the collection element which is of complex type as a derived 
type of the collection. This will work when the collection contains entities 
but doesn't work for complex types. The problem is that the method 
parseMemberExpression in 
org.apache.olingo.server.core.uri.parser.ExpressionParser tries to interpret 
the typecast as an entity and if this doen't work it assumes that it is a bound 
function. So for complex typecasts the type is interpreted as a bound function 
and the parsing fails.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to