[teiid-issues] [JBoss JIRA] (TEIID-4040) Representation of OData error does not contain error code.
RH Bugzilla Integration (JIRA)
issues at jboss.org
Thu Mar 17 18:51:04 EDT 2016
[ https://issues.jboss.org/browse/TEIID-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178761#comment-13178761 ]
RH Bugzilla Integration commented on TEIID-4040:
------------------------------------------------
Van Halbert <vhalbert at redhat.com> changed the Status of [bug 1316470|https://bugzilla.redhat.com/show_bug.cgi?id=1316470] from NEW to MODIFIED
> Representation of OData error does not contain error 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
> Fix For: 9.0, 8.12.5
>
>
> JSON:
> *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":30492
> XML (in this case OData returns HTTP status code instead of error code):
> *URL:* 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}
> *Expected result:*
> {code:xml}<code>:30492</code>{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the teiid-issues
mailing list