You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Kiran G (JIRA)" <ji...@apache.org> on 2014/11/24 12:28:12 UTC

[jira] [Created] (OLINGO-496) Throw UriSyntaxException with INCOMPATIBLESYSTEMQUERYOPTION when $orderby param is specified for $count URI

Kiran G created OLINGO-496:
------------------------------

             Summary: 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
            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)