You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (JIRA)" <ji...@apache.org> on 2018/01/31 09:00:00 UTC
[jira] [Resolved] (OLINGO-1170) Olingo v4 client api does not
support custom query options in URIBuilder
[ https://issues.apache.org/jira/browse/OLINGO-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramya resolved OLINGO-1170.
---------------------------
Resolution: Fixed
> Olingo v4 client api does not support custom query options in URIBuilder
> ------------------------------------------------------------------------
>
> Key: OLINGO-1170
> URL: https://issues.apache.org/jira/browse/OLINGO-1170
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Affects Versions: (Java) V4 4.3.0
> Reporter: Ronny Bremer
> Priority: Major
>
> I am trying to build a URI to access an Olingo based OData 4 service. I can add query options just fine, for example
> newURIBuilder(url).addQueryOption("SKIP", "4")
> will result in url?$SKIP=4
> However, if I want to specify a custom query option, it will also add a "$" in front of it, for example
> newURIBuilder(url).addQueryOption("LANG", "EN")
> will result in url?$LANG=EN
> This, of course, will result in an ODataClientErrorException: The system query option '$LANG' is not defined.
> There doesn't seem to be another method to add custom query options to URIBuilder, so I am opening this bug report.
> Yours,
> Ronny
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)