Bug 197261 [2.2.1]The report that contain library xtab and set filter cannot be run
Description: [2.2.1]The report that contain library xtab and set filter cannot be run Step: 1.New a library and add a xtab 2.New a report and use the library 3.Drop the xtab from library explorer into layout 4.Set the filter on the xtab that is in report 5.Preview Actual result: It pop up an error said that the report cannot be run
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/TabularCubeParserTest.java
assertEquals( measureGroup, cube.getDefaultMeasureGroup( ) );
		propHandle = measureGroup
				.getPropertyHandle( MeasureGroupHandle.MEASURES_PROP );
		
		MeasureHandle measure = (MeasureHandle) propHandle.getContent( 0 );
		assertEquals( "testMeasure", measure.getName( ) ); 
		assertEquals( "column", measure.getMeasureExpression( ) ); 
		assertEquals( DesignChoiceConstants.MEASURE_FUNCTION_MIN, measure
				.getFunction( ) );
		assertFalse( measure.isCalculated( ) );
		assertEquals( DesignChoiceConstants.COLUMN_DATA_TYPE_STRING, measure
				.getDataType( ) );
	}
	/**
	 * 
	 * @throws Exception
	 */
	public void testWriter( ) throws Exception
	{
		openDesign( FILE_NAME );
		assertNotNull( designHandle );
		String namePrix = "new"; 
		String valuePrix = "updated "; 
		ElementFactory factory = designHandle.getElementFactory( );
		
		TabularCubeHandle cube = (TabularCubeHandle) designHandle
				.findCube( "testCube" ); 
		cube.setDataSet( designHandle.findDataSet( "secondDataSet" ) ); 
		cube.setName( namePrix + cube.getName( ) );