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
* @see org.eclipse.birt.report.data.adapter.api.DataRequestSession#defineCube(org.eclipse.birt.report.model.api.olap.CubeHandle)
	 */
	public void defineCube( CubeHandle cubeDesign ) throws BirtException
	{
		if ( !cubeHandleMap.containsKey( cubeDesign.getQualifiedName( ) ) )
		{
			this.cubeHandleMap.put( cubeDesign.getQualifiedName( ), cubeDesign );
		}
	}
	
	/**
	 * 
	 * @param cubeHandle
	 * @param appContext
	 * @throws BirtException
	 */
	private void materializeCube( CubeHandle cubeHandle, Map appContext ) throws BirtException
	{
		int mode = this.sessionContext.getDataEngineContext( ).getMode( );
		try
		{
			CubeMaterializer cubeMaterializer = null;
			if ( appContext == null )
				appContext = sessionContext.getAppContext( );
			if ( mode == DataEngineContext.DIRECT_PRESENTATION )
			{
				int size = 0;
				if ( appContext != null )
				{
					Integer value = DataTypeUtil.toInteger( appContext.get( DataEngine.IN_MEMORY_CUBE_SIZE ) );