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

Christian Amend updated OLINGO-759:
-----------------------------------
    Fix Version/s: V2 2.0.7

> EntityProviderException HTTP status code 400 is not right
> ---------------------------------------------------------
>
>                 Key: OLINGO-759
>                 URL: https://issues.apache.org/jira/browse/OLINGO-759
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.2
>            Reporter: Sunil Chakravarthy Dabburi
>            Assignee: Christian Amend
>             Fix For: V2 2.0.7
>
>
> I have a function import which expects an output of type Edm.Int16 but the 
> function returns value greater than the expected range and it fails to cast 
> and throws an EntityProviderException with http status code 400. I debugged 
> the code and found Olingo always sets the EntityProviderException http status 
> code to 400 by default in ODataExceptionWrapper. Here it is not a bad 
> request. The status code is misleading. Please fix it.



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

Reply via email to