[teiid-issues] [JBoss JIRA] (TEIID-4040) JSON representation of OData error does not contain status code.

Juraj Duráni (JIRA) issues at jboss.org
Mon Mar 14 02:08:00 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175857#comment-13175857 ] 

Juraj Duráni commented on TEIID-4040:
-------------------------------------

[~shawkins] If so, then you should probably change the ATOM representation:
*URL (note, that only difference is _format=xml_):* http://localhost:8080/odata4/olingo_basic/Source/SimpleTableView/?$filter=clobval%20eq%201&$format=xml
*Result:*
{code:xml}
<error>
  <code>500</code>
  <message>TEIID30492 Non-comparable expression of type object cannot be used in comparison: g1.clobval = ?.</message>
</error>
{code}

> JSON representation of OData error does not contain status code.
> ----------------------------------------------------------------
>
>                 Key: TEIID-4040
>                 URL: https://issues.jboss.org/browse/TEIID-4040
>             Project: Teiid
>          Issue Type: Sub-task
>          Components: OData
>            Reporter: Juraj Duráni
>            Assignee: Ramesh Reddy
>
> *URL:* http://localhost:8080/odata4/olingo_basic/Source/SimpleTableView/?$filter=clobval%20eq%201&$format=json
> *Actual result:* \{"error":\{"code":null,"message":"TEIID30492 Non-comparable expression of type object cannot be used in comparison: g4.clobval = ?."\}\}
> *Expected result:* "code":500



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the teiid-issues mailing list