[teiid-issues] [JBoss JIRA] (TEIID-4060) OData - $count after $expand does not work
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Jun 15 04:44:00 EDT 2016
[ https://issues.jboss.org/browse/TEIID-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252652#comment-13252652 ]
RH Bugzilla Integration commented on TEIID-4060:
------------------------------------------------
Juraj Duráni <jdurani at redhat.com> changed the Status of [bug 1316502|https://bugzilla.redhat.com/show_bug.cgi?id=1316502] from ON_QA to VERIFIED
> OData - $count after $expand does not work
> ------------------------------------------
>
> Key: TEIID-4060
> URL: https://issues.jboss.org/browse/TEIID-4060
> Project: Teiid
> Issue Type: Sub-task
> Components: OData
> Reporter: Juraj Duráni
> Assignee: Ramesh Reddy
> Fix For: 9.0, 8.12.5
>
>
> If user declares $count after $expand, OData service should return count if referenced entities instead of whole entities.
> *URL:* http://localhost:8080/odata4/olingo_basic/Source/Customers/?$expand=Orders_FK0/$count
> *Result:*
> {code:xml}
> ...
> <a:link rel="http://docs.oasis-open.org/odata/ns/related/Orders_FK0" title="Orders_FK0" href="http://localhost:8080/odata4/olingo_basic/Source/Customers(1)/Orders_FK0">
> <m:inline>
> <a:feed>
> <a:entry>
> ...
> {code}
> *Expected result:*
> {code:xml}
> <a:link rel="http://docs.oasis-open.org/odata/ns/related/Orders_FK0" title="Orders_FK0" href="http://localhost:8080/odata4/olingo_basic/Source/Customers(1)/Orders_FK0">
> <!-- I am not sure about the representation, but this is only example -->
> <m:count>4</m:count>
> ...
> {code}
> See http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398298
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the teiid-issues
mailing list