Fix nested projections with nested star
Resolves:
@@ -96,6 +96,9 @@ public class ONestedProjection extends SimpleNode {
}
private Object tryExpand(OExpression rootExpr, String propName, Object propValue, OCommandContext ctx, int recursion) {
+ if (this.starItem != null && starItem.expansion != null) {
+ return starItem.expand(rootExpr, propName, propValue, ctx, recursion);
+ }
for (ONestedProjectionItem item : includeItems) {
if (item.matches(propName) && item.expansion != null) {
return item.expand(rootExpr, propName, propValue, ctx, recursion);
