[teiid-issues] [JBoss JIRA] (TEIID-3911) Nearly all odata4 errors reported as internal server errors
Ramesh Reddy (JIRA)
issues at jboss.org
Mon Feb 8 10:49:00 EST 2016
[ https://issues.jboss.org/browse/TEIID-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159826#comment-13159826 ]
Ramesh Reddy commented on TEIID-3911:
-------------------------------------
logged https://issues.apache.org/jira/browse/OLINGO-874
> Nearly all odata4 errors reported as internal server errors
> -----------------------------------------------------------
>
> Key: TEIID-3911
> URL: https://issues.jboss.org/browse/TEIID-3911
> Project: Teiid
> Issue Type: Quality Risk
> Components: OData
> Affects Versions: 8.12
> Reporter: Steven Hawkins
> Fix For: 9.0
>
>
> From the TeiidServiceHandler we generally rethrow our exceptions as ODataApplicationExceptions that have a status code of 500 - however even using a different status code still results in a 500 error as the Olingo framework expects exception subclasses to be used (see ErrorHandler.handleException - a general application exception is always a 500 error).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the teiid-issues
mailing list