[ 
https://issues.apache.org/jira/browse/OLINGO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Amend resolved OLINGO-635.
------------------------------------
    Resolution: Not A Problem
      Assignee: Christian Amend

Hi Ramesh,

I looked into this and the filter parser goes through for the $count cases. But 
our Sample Scenario does not support theses cases.

The "Products/qty lt 10" case goes through as long as Protucts is a "to One" 
navigation. If it is a "to Many" navigation the syntax is incorrect because you 
would need a key to specify which Product needs the value of qty to be lower 
than 10. So the correct syntax would be "Products(10)/qty lt 10"

If I messed something or if you would like to discuss this further please 
reopen the issue.

Best Regards,
Christian

> Parsing error when $filter uses navigational style queries
> ----------------------------------------------------------
>
>                 Key: OLINGO-635
>                 URL: https://issues.apache.org/jira/browse/OLINGO-635
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: V4 4.0.0-beta-01
>            Reporter: Ramesh Reddy
>            Assignee: Christian Amend
>
> The following types are queries are failing pass URIParser.
> See 11.2.9 in V4 spec for more information 
> [http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398314]
> http://host/service/Categories?$filter=Products/$count lt 10
> http://host/service/Categories?$filter=Products/qty lt 10
> http://host/service/Cateoriges?$orderby=Products/$count



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to