[ https://issues.apache.org/jira/browse/OLINGO-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116693#comment-16116693 ]
Frederik Zimmer commented on OLINGO-1122: ----------------------------------------- Thanks, its working. > 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.4.14#64029)