Bug 132515 Expression like "Toltal.rank(Tolta.ave(row[a]),ture,Null,1)" is return an error
Description: Add an expression like "Toltal.rank(Tolta.ave(row[a]),ture,Null,1)" is return an error.The nesting "Toltal" seem not to be work. Step to reproduce: 1.new a datasource and dataset 2.drag the dataset to layout veiw for a table 3.set a group on the table 4.Insert a data into the group header with the expression e.g. "Toltal.rank(Tolta.ave(row[a]),ture,Null,1)" Actual result: An error was thrown out Expected result: It should work correctly in order to support some requirments
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java
import org.eclipse.birt.data.engine.odaconsumer.ParameterHint;
import org.eclipse.birt.data.engine.odi.ICandidateQuery;
import org.eclipse.birt.data.engine.odi.IDataSource;
import org.eclipse.birt.data.engine.odi.IEventHandler;
import org.eclipse.birt.data.engine.odi.IPreparedDSQuery;
import org.eclipse.birt.data.engine.odi.IQuery;
import org.eclipse.birt.data.engine.odi.IResultIterator;
import org.eclipse.birt.data.engine.odi.IResultObjectEvent;
import org.eclipse.birt.data.engine.script.OnFetchScriptHelper;
import org.eclipse.birt.data.engine.script.ScriptEvalUtil;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
/**
 * 
 */
public abstract class QueryExecutor implements IQueryExecutor
{
	private IBaseQueryDefinition baseQueryDefn;
	private AggregateTable aggrTable;
	private AggregateCalculator aggregates;
	
	private Scriptable sharedScope;
	
	
	private Scriptable parentScope;
	
	private Scriptable queryScope;
	private boolean isPrepared = false;
	private boolean isExecuted = false;
	private Map queryAppContext;