[
https://issues.jboss.org/browse/TEIID-4044?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-4044.
---------------------------------
Resolution: Done
[~jdurani] Yes, this indeed is another issue, basically I was interpreting the OData
specification incorrectly. Revised that, and new code should return 4 customers with two
of them not having a Orders expand item.
OData ignores entities with empty list of related entities if $filter
is applied to expanded entities
-----------------------------------------------------------------------------------------------------
Key: TEIID-4044
URL:
https://issues.jboss.org/browse/TEIID-4044
Project: Teiid
Issue Type: Sub-task
Components: OData
Reporter: Juraj DurĂ¡ni
Assignee: Ramesh Reddy
If user want to apply filter for related entities, OData service should return all
entities, not only those with non-empty collection of related entities.
*Example:*
*URL:*
http://localhost:8080/odata4/olingo_basic/Source/Customers/?$expand=Order...
*Result:* OData returns only 2 customers (both have at least one order with place
"town")
*Expectation:* OData should return all 4 customers (two of them should have empty list of
orders)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)