1
Vote

Multiple field selection with sub-entities and filter does not work

description

I have application that uses WCF/OData toolkit and when i try to execute a SELECT query, i get a number of errors inside toolkit.

The entity layout is like that
A {
property1;
property2;
property3;
B { property4, property5, property6}
}

SELECT looks like that

A?$select=property1,property2,B/property4,B/property5&$expand=B&$filter=property3%20eq%20value&$orderby=B/property6,property2

Executing this select leads to several problems inside toolkit, including parsing problem & related crash inside ODataExpressionVisitor/EvalForQueue (SelectMulti+Order combination case leads to crash and SelectMulti+Where combination leads to crash on unknown property name in the mentioned scenario)

Can you advise?

comments