You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2016/03/26 22:44:25 UTC

[jira] [Resolved] (OLINGO-916) Parse of URI with single guid key predicate fails

     [ https://issues.apache.org/jira/browse/OLINGO-916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Bolz resolved OLINGO-916.
---------------------------------
       Resolution: Fixed
    Fix Version/s: (Java) V4 4.2.0

Fixed with [this commit|https://git1-us-west.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=18b126742ee8da021c0ad5bcc6dd1eeb001bfcb9].

> Parse of URI with single guid key predicate fails
> -------------------------------------------------
>
>                 Key: OLINGO-916
>                 URL: https://issues.apache.org/jira/browse/OLINGO-916
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.1.0
>            Reporter: Michael Bolz
>            Assignee: Michael Bolz
>             Fix For: (Java) V4 4.2.0
>
>
> Parse of URI with single guid key predicate fails with following error.
> For test take [tutorials/p0_all|https://git1-us-west.apache.org/repos/asf?p=olingo-odata4.git;a=tree;f=samples/tutorials/p0_all;h=75f3df31a6ff983dc5daf96c22a65b942690a969;hb=HEAD] and request:
> http://localhost:8080/DemoService.svc/Advertisements(f89dee73-af9f-4cd4-b330-db93c25ff3c7)?$format=json
> to get following error:
> {code}
> {
> error: {
> code: null,
> message: "The key property 'f89dee73' is invalid."
> }
> }
> {code}
> It seems that a single {{GUID}} is identified as {{ODataIdentifier}} and then handled as a {{compoundKey}} (see {{ParserHelper:309}}).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)