[
https://issues.jboss.org/browse/TEIID-4047?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-4047:
---------------------------------------
The main thing would just to look for TeiidComponent vs. TeiidProcessing. Some of the
logic we have is ExceptionUtil.getExceptionOfType, TeiidSQLException.findRootException, or
in the engine RequestWorkItem.handleThrowable
OData - $top with negative value return status code 500
-------------------------------------------------------
Key: TEIID-4047
URL:
https://issues.jboss.org/browse/TEIID-4047
Project: Teiid
Issue Type: Sub-task
Components: OData
Reporter: Juraj DurĂ¡ni
Assignee: Ramesh Reddy
OData request with query option $top with negative value returns status code 500. The
root cause is SQLException. OData service should check passed value and return e.g. 400
instead.
*URL:*
http://localhost:8080/odata4/olingo_basic/Source/Customers/?$top=-1
See
http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-pr...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)