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
accessControl = designHandle.getElementFactory( ).newAccessControl( );
		propHandle.add( accessControl );
		
		cube.add( TabularCubeHandle.DIMENSIONS_PROP, factory
				.newTabularDimension( null ) );
		DimensionHandle dimension = (DimensionHandle) cube.getContent(
				TabularCubeHandle.DIMENSIONS_PROP, 0 );
		dimension.setName( namePrix + dimension.getName( ) );
		dimension.setTimeType( false );
		dimension.setDefaultHierarchy( factory
				.newTabularHierarchy( "testDefaultHierarchy" ) ); 
		
		dimension.add( DimensionHandle.HIERARCHIES_PROP, factory
				.newTabularHierarchy( null ) );
		TabularHierarchyHandle hierarchy = (TabularHierarchyHandle) dimension
				.getContent( DimensionHandle.HIERARCHIES_PROP, 0 );
		hierarchy.setName( namePrix + hierarchy.getName( ) );
		hierarchy.setDataSet( designHandle.findDataSet( "firstDataSet" ) ); 
		propHandle = hierarchy
				.getPropertyHandle( TabularHierarchyHandle.PRIMARY_KEYS_PROP );
		propHandle.removeItem( "key2" ); 
		propHandle.addItem( valuePrix + "key" ); 
		
		accessControl = (AccessControlHandle) hierarchy
				.accessControlsIterator( ).next( );
		accessControl.addUserName( "new hierarchy user1" ); 
		accessControl.addUserName( "new hierarchy user2" ); 
		accessControl.addRole( "new hierarchy role1" ); 
		accessControl.addRole( "new hierarchy role2" ); 
		accessControl