Michael Ho created OLINGO-1030:
----------------------------------
Summary: Sorting using navigation properties that can be null does
not return the collection
Key: OLINGO-1030
URL: https://issues.apache.org/jira/browse/OLINGO-1030
Project: Olingo
Issue Type: Bug
Components: odata2-jpa
Affects Versions: V2 2.0.7
Environment: Java web application using Olingo v2.0.7
Reporter: Michael Ho
Assume we have an entity: Product that has a foreign key for an alternate
supplier. The attribute for the foreign key is nullable i.e. it may or may not
have an alternate supplier. Furthermore, the supplier has a name attribute. The
problem that we encounter is when we are using the orderby of the name of the
alternate supplier:
/Products?$orderby=AlternateSupplier/Name
For now, assume that none of the product has an alternate supplier and the
result we get back is an empty collection. We should be getting the result with
all the products regardless they have an alternate supplier set
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)