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
config.setName( "var3" ); 
		config.setDataType( DesignChoiceConstants.COLUMN_DATA_TYPE_BOOLEAN );
		propHandle.insertItem( config, 0 );
		
		ValueAccessControlHandle valueAccess = (ValueAccessControlHandle) level
				.valueAccessControlsIterator( ).next( );
		valueAccess.addUserName( "new level user1" ); 
		valueAccess.addUserName( "new level user2" ); 
		valueAccess.addRole( "new level role1" ); 
		valueAccess.addRole( "new level role2" ); 
		valueAccess.addValue( "new level value1" ); 
		valueAccess.addValue( "new level value2" ); 
		valueAccess
				.setPermission( DesignChoiceConstants.ACCESS_PERMISSION_ALLOW );
		
		propHandle = level
				.getPropertyHandle( LevelHandle.VALUE_ACCESS_CONTROLS_PROP );
		valueAccess = designHandle.getElementFactory( ).newValueAccessControl( );
		propHandle.add( valueAccess );
		
		cube.add( TabularCubeHandle.MEASURE_GROUPS_PROP, factory
				.newTabularMeasureGroup( null ) );
		MeasureGroupHandle measureGroup = (MeasureGroupHandle) cube.getContent(
				TabularCubeHandle.MEASURE_GROUPS_PROP, 0 );
		measureGroup.setName( namePrix + measureGroup.getName( ) );
		
		measureGroup.add( MeasureGroupHandle.MEASURES_PROP, factory
				.newTabularMeasure( null ) );
		MeasureHandle measure = (MeasureHandle) measureGroup.getContent(
				MeasureGroupHandle.MEASURES_PROP, 0 );