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
.getStringValue( ) );
		assertEquals( "cube role1; cube role2", accessControl 
				.getPropertyHandle( IAccessControlModel.ROLES_PROP )
				.getStringValue( ) );
		assertEquals( DesignChoiceConstants.ACCESS_PERMISSION_DISALLOW,
				accessControl.getPermission( ) );
		PropertyHandle propHandle = cube
				.getPropertyHandle( TabularCubeHandle.DIMENSIONS_PROP );
		assertEquals( 1, propHandle.getContentCount( ) );
		assertEquals( 1, cube
				.getContentCount( TabularCubeHandle.DIMENSIONS_PROP ) );
		
		DimensionHandle dimension = (DimensionHandle) propHandle.getContent( 0 );
		assertEquals( dimension, cube.getContent(
				TabularCubeHandle.DIMENSIONS_PROP, 0 ) );
		assertEquals( "testDimension", dimension.getName( ) ); 
		assertTrue( dimension.isTimeType( ) );
		propHandle = dimension
				.getPropertyHandle( DimensionHandle.HIERARCHIES_PROP );
		assertEquals( 1, propHandle.getContentCount( ) );
		assertEquals( 1, dimension
				.getContentCount( DimensionHandle.HIERARCHIES_PROP ) );
		
		TabularHierarchyHandle hierarchy = (TabularHierarchyHandle) propHandle
				.getContent( 0 );
		assertEquals( hierarchy, dimension.getContent(
				DimensionHandle.HIERARCHIES_PROP, 0 ) );
		
		assertEquals( hierarchy, dimension.getDefaultHierarchy( ) );
		assertEquals( "testHierarchy", hierarchy.getName( ) );