Bug 1316468 - OData returns bad number of entities with $count and $expand
Summary: OData returns bad number of entities with $count and $expand
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.3.0
Assignee: Van Halbert
QA Contact: Juraj Duráni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-10 10:52 UTC by Juraj Duráni
Modified: 2016-08-24 11:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 11:41:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-4038 0 Major Resolved OData returns bad number of entities with $count and $expand 2016-05-25 12:52:05 UTC

Description Juraj Duráni 2016-03-10 10:52:05 UTC
Description of problem:
*URL:* http://localhost:8080/odata4/olingo_basic/Source/Customers/?$count=true&$expand=Orders_FK0
*Expected count: * 4
*Actual count:* 9

Similar behavior with $filter - http://localhost:8080/odata4/olingo_basic/Source/Customers/?$count=true&$filter=idcust%20lt%203&$expand=Orders_FK0

OData should return only count of Customer entities.

Comment 1 JBoss JIRA Server 2016-03-18 22:07:15 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-4038 to Coding In Progress

Comment 2 JBoss JIRA Server 2016-03-21 16:55:25 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-4038 to Resolved


Note You need to log in before you can comment on or make changes to this bug.