[
https://issues.apache.org/jira/browse/OLINGO-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Amend resolved OLINGO-496.
------------------------------------
Resolution: Won't Fix
Hi,
altough it doesn`t make a lot of sense the specification allows an orderby
system query option on a count of entities.
Best Regards,
Christian
> Throw UriSyntaxException with INCOMPATIBLESYSTEMQUERYOPTION when $orderby
> param is specified for $count URI
> -----------------------------------------------------------------------------------------------------------
>
> Key: OLINGO-496
> URL: https://issues.apache.org/jira/browse/OLINGO-496
> Project: Olingo
> Issue Type: Bug
> Components: odata2-core, odata2-jpa
> Affects Versions: V2 2.0.0
> Reporter: Kiran G
> Assignee: Sven Kobler-Morris
> Priority: Minor
>
> UriParserImpl should block the urls for form
> _/Entities/$count?$orderby=<attr>_, as it doesn't make sense to pass orderby
> for a count query.
> This breaks the odata-jpa implementation as the count query gets generated
> along with the order by clause.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)