You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Holzer (JIRA)" <ji...@apache.org> on 2015/10/06 17:29:26 UTC
[jira] [Resolved] (OLINGO-792) Improve URI parser error messages
[ https://issues.apache.org/jira/browse/OLINGO-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Holzer resolved OLINGO-792.
-------------------------------------
Resolution: Fixed
Fixed with [OLINGO-792|https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=d0b225bf18a8ed06a090f92fd5f55dee7767a7cc]
> Improve URI parser error messages
> ---------------------------------
>
> Key: OLINGO-792
> URL: https://issues.apache.org/jira/browse/OLINGO-792
> Project: Olingo
> Issue Type: Improvement
> Affects Versions: (Java) V4 4.1.0
> Reporter: Christian Holzer
> Assignee: Christian Holzer
> Priority: Minor
> Fix For: (Java) V4 4.1.0
>
>
> Assume "Employees" is an entity set, "my.namespace" is the service namespace and there is not Entity Type "my.namespace.Manager"
> By calling the following URI:
> http://myhost/myservice.svc/Employees/my.namespace.Manager
> the parser return the following message:
> "Function parameters expected for type 'my.namespace.Employees'."
> Obviously the paser assumes that my.namespace.Manager is a bound function.
> Issues:
> 1.) The message addresses the wrong resource path
> 2.) Syntactically the mentioned URI is more likely a type cast than a bound function.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)