[
https://issues.apache.org/jira/browse/OLINGO-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138930#comment-14138930
]
Ralf Handl commented on OLINGO-425:
-----------------------------------
Please note that Edm.Guid values are NOT quoted in keys even when the round
parentheses are used, so the canonical URL for the above user would be
~/users(148d1101-58fb-410b-ad6d-7379fd9564ca)
No quotes. Same for Date, DateTimeOffset, TimeOfDay.
> 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)