You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Jay Xu (JIRA)" <ji...@apache.org> on 2017/03/13 07:47:04 UTC

[jira] [Reopened] (OLINGO-1094) Key predicate for Edm.String type

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

Jay Xu reopened OLINGO-1094:
----------------------------

One more question about key predicates.

> Key predicate for Edm.String type
> ---------------------------------
>
>                 Key: OLINGO-1094
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1094
>             Project: Olingo
>          Issue Type: Bug
>            Reporter: Jay Xu
>            Assignee: Christian Amend
>
> I defined a entitytype `Product` and have a property `Id` which type is defined as Edm.String. When I set this property as a CsdlPropertyRef, and have the entity in which the value of the property 'Id' is the String `Simple`. According to the function 'nextStringValue' of olingo.server.core.uri.parser.UriTkoenizer, seems that it only allows the URI `/<root_url>/Product)('Simple')`. Is it possible to just simplify the URI as `/<root_url>/Product)(Simple)`, that is, removing the single quotation around Simple? Because when query the value of the property `Id`, it shows me only the word Simple.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)