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
throws AdapterException
	{
		try
		{
			List bindings = cubeDefn.getBindings( );
			if ( bindings == null )
				return new ArrayList( );
			DimLevel target = OlapExpressionUtil.getTargetDimLevel( targetLevel );
			List result = new ArrayList( );
			for ( int i = 0; i < bindings.size( ); i++ )
			{
				IBinding binding = (IBinding) bindings.get( i );
				Set refDimLevel = OlapExpressionCompiler.getReferencedDimLevel( binding.getExpression( ),
						bindings,
						isSort );
				if ( refDimLevel.size( ) > 1 )
					continue;
				if ( !refDimLevel.contains( target ) )
				{
					List aggrOns = binding.getAggregatOns( );
					if( aggrOns.size( ) == 0 )
					{
						if ( this.getReferencedMeasureName( binding.getExpression( ) ) != null
								&& this.isLeafLevel( cubeDefn, target ) )
						{
							result.add( binding );
							continue;
						}
					}
					for ( int j = 0; j < aggrOns.size( ); j++ )