Bug 189830 The filter of cube take no effect on the attribute of level[1101]
Description: The filter of cube take no effect on the attribute of level[1101] Build number: 2.2.0.v20070530-0630 Steps to reproduce: 1, Set the filter on cube such as: dataSetRow["CUSTOMERNUMBER"] between 103 and 200 2, Set the CUSTOMERNUMBER as a level's attribute 3, Set the attribute binding on crosstab 4, Preview Expected result: The attribute can be also filtered Actual result: The filter take no effect Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java
Map appContext ) throws BirtException
	{
		if ( this.cubeHandleMap.get( query.getName( ) ) != null )
		{
			this.materializeCube( (CubeHandle) this.cubeHandleMap.get( query.getName( ) ),
					appContext );
			this.cubeHandleMap.remove( query.getName( ) );
		}
		if ( this.sessionContext.getDataEngineContext( ).getMode( ) == DataEngineContext.DIRECT_PRESENTATION )
		{
			int size = 0;
			if ( appContext != null )
			{
				size = populateFetchLimitSize( appContext.get( DataEngine.CUBECURSOR_FETCH_LIMIT_ON_LEVEL ) );
				if ( size >= 0 )
				{
					query.getFilters( )
							.addAll( fetchFilterList( query.getEdge( ICubeQueryDefinition.COLUMN_EDGE ),
									size ) );
					query.getFilters( )
							.addAll( fetchFilterList( query.getEdge( ICubeQueryDefinition.ROW_EDGE ),
									size ) );
				}
			}
		}
		return this.dataEngine.prepare( query, appContext );
	}
	/*
	 * (non-Javadoc)
	 * @see org.eclipse.birt.report.data.adapter.api.DataRequestSession#getCachedDataSetMetaData(org.eclipse.birt.data.engine.api.IBaseDataSourceDesign, org.eclipse.birt.data.engine.api.IBaseDataSetDesign)