]
Steven Hawkins commented on TEIID-4566:
---------------------------------------
There's not enough here yet to determine what you are seeing. Can you provide the
definition for SvcView, and have you confirmed if this is already addressed upstream?
Use of $top without $filter in odata url query fails
----------------------------------------------------
Key: TEIID-4566
URL:
https://issues.jboss.org/browse/TEIID-4566
Project: Teiid
Issue Type: Bug
Components: OData
Affects Versions: 8.12.7.6_3
Reporter: Paul Richardson
Assignee: Steven Hawkins
Have built teiid dv 6.3 distribution from git (d2642e58) and installed into eap.
On deployment of vdb, odata url works correctly with most parameters. However, it returns
{code:xml}
<error>
<code>null</code>
<message>Assertion failed.</message>
</error>
{code}
for urls containing the $top=x parameter (where x is some number), eg.
https://localhost:8443/odata4/usstates.1/USStates/SvcView?$top=10
On the other hand, if I add a filter to the set of parameters, the top 10 is returned
correctly, eg.
https://localhost:8443/odata4/usstates.1/USStates/SvcView?$top=10&$fi...
The stacktrace in the jb log can be found
[
here|https://gist.github.com/phantomjinx/b8fbc45329762daa9972b0fe77472f08].