Bug 1316468

Summary: OData returns bad number of entities with $count and $expand
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Juraj Duráni <jdurani>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact: Juraj Duráni <jdurani>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: aszczucz, blafond, jolee, mbaluch, thauser, vhalbert
Target Milestone: ER2   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 11:41:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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