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
cube.setDefaultMeasureGroup( factory
				.newTabularMeasureGroup( "testDefaultMeasureGroup" ) ); 
		PropertyHandle propHandle = cube
				.getPropertyHandle( TabularCubeHandle.DIMENSION_CONDITIONS_PROP );
		propHandle.removeItem( 1 );
		DimensionCondition condition = new DimensionCondition( );
		DimensionConditionHandle structHandle = cube
				.addDimensionCondition( condition );
		DimensionJoinConditionHandle joinConditionHandle = structHandle
				.addJoinCondition( new DimensionJoinCondition( ) );
		joinConditionHandle.setCubeKey( "addCubeKey" ); 
		joinConditionHandle.setHierarchyKey( "addHierarchyKey" ); 
		joinConditionHandle.setLevel( "testDimension/noLevel" ); 
		structHandle = (DimensionConditionHandle) propHandle.get( 0 );
		MemberHandle memberHandle = structHandle
				.getMember( DimensionCondition.HIERARCHY_MEMBER );
		memberHandle.setValue( valuePrix + "hierarchy" ); 
		structHandle.removeJoinCondition( 1 );
		
		AccessControlHandle accessControl = (AccessControlHandle) cube
				.accessControlsIterator( ).next( );
		accessControl.addUserName( "new cube user1" ); 
		accessControl.addUserName( "new cube user2" ); 
		accessControl.addRole( "new cube role1" ); 
		accessControl.addRole( "new cube role2" ); 
		accessControl
				.setPermission( DesignChoiceConstants.ACCESS_PERMISSION_ALLOW );
		
		propHandle = cube
				.getPropertyHandle( TabularCubeHandle.ACCESS_CONTROLS_PROP );