]
Steven Hawkins resolved TEIID-5171.
-----------------------------------
Resolution: Done
Addressed by cleaning up the logic around creating join predicates so that we more
completely considered the direction. This also allowed you to share that logic with
another code path. There was a minor clean up of navigation nullability - as it is not
required to be not null.
Forward navigation of expand returns wrong results.
---------------------------------------------------
Key: TEIID-5171
URL:
https://issues.jboss.org/browse/TEIID-5171
Project: Teiid
Issue Type: Bug
Components: OData
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Blocker
Fix For: 8.12.x-6.4, 10.1, 10.0.1, 9.3.6
On a self relationship expand, the reverse navigation will return the correct result:
Employee?$expand=Employee_FK0
But the same result will be returned for the forward as well:
Employee?$expand=FK0
The logic is not differentiating between the directions.