Bug 200887 No select list of filter condition if a crosstab has one dimension and one measure[1102]
Description: No select list of filter condition if a crosstab has one dimension and one measure[1102] Build number: 2.2.1.v20070823-0630 Steps to reproduce: 1, New a crosstab has one dimension and one measure 2, Create a filter on crosstab 3, Select filter condition in drop list of "Enter a filter condition" Expected result: The dimension should be in the list Actual result: No selection list. Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/CubeQueryUtil.java
import org.eclipse.birt.data.engine.olap.util.OlapExpressionCompiler;
import org.eclipse.birt.data.engine.olap.util.OlapExpressionUtil;
import org.eclipse.birt.data.engine.olap.util.OlapQueryUtil;
import org.eclipse.birt.data.engine.script.ScriptEvalUtil;
import org.eclipse.birt.report.data.adapter.api.AdapterException;
import org.eclipse.birt.report.data.adapter.api.ICubeQueryUtil;
import org.eclipse.birt.report.data.adapter.api.IModelAdapter;
import org.eclipse.birt.report.model.api.DataSetHandle;
import org.eclipse.birt.report.model.api.DataSourceHandle;
import org.eclipse.birt.report.model.api.JointDataSetHandle;
import org.eclipse.birt.report.model.api.olap.TabularCubeHandle;
import org.eclipse.birt.report.model.api.olap.TabularDimensionHandle;
import org.eclipse.birt.report.model.api.olap.TabularHierarchyHandle;
/**
 * 
 */
public class CubeQueryUtil implements ICubeQueryUtil
{
	private DataRequestSessionImpl session;
	
	public CubeQueryUtil( DataRequestSessionImpl session )
	{
		this.session = session;
	}
	
	/*
	 * @see org.eclipse.birt.report.data.adapter.api.ICubeQueryUtil#getReferableBindings(java.lang.String, org.eclipse.birt.data.engine.olap.api.query.ICubeQueryDefinition, boolean)
	 */
	public List getReferableBindings( String targetLevel,
			ICubeQueryDefinition cubeDefn, boolean isSort )