You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Mark Sztainbok (JIRA)" <ji...@apache.org> on 2014/09/17 18:55:34 UTC
[jira] [Commented] (OLINGO-425) The key should not be in quotes
when setKeyAsSegment is enabled
[ https://issues.apache.org/jira/browse/OLINGO-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137545#comment-14137545 ]
Mark Sztainbok commented on OLINGO-425:
---------------------------------------
The following Microsoft documentation shows that their implementation does not put quotes around keys when keys as segment is enabled:
http://msdn.microsoft.com/en-us/library/microsoft.data.odata.query.odataurlconventions(v=vs.113).aspx
> The key should not be in quotes when setKeyAsSegment is enabled
> ---------------------------------------------------------------
>
> Key: OLINGO-425
> URL: https://issues.apache.org/jira/browse/OLINGO-425
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client
> Affects Versions: V4 4.0.0-beta-01
> Reporter: Mark Sztainbok
>
> When setKeyAsSegment is set to true on the client configuration, Olingo is incorrectly placing the key in quotes i.e. it is putting the URI as /f872e367-02c7-4012-a01c-0f5b7c5636ae/users/'148d1101-58fb-410b-ad6d-7379fd9564ca' when it should be /f872e367-02c7-4012-a01c-0f5b7c5636ae/users/148d1101-58fb-410b-ad6d-7379fd9564ca
> Having the quotes causes failures in the service in this case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)