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
TabularLevelHandle cube = (TabularLevelHandle) designHandle
				.findLevel( "testDimension/testLevel" ); 
		
		Iterator cubeAccess = cube.valueAccessControlsIterator( );
		ValueAccessControlHandle tmpAccess = (ValueAccessControlHandle) cubeAccess
				.next( );
		tmpAccess.setPermission( DesignChoiceConstants.ACCESS_PERMISSION_ALLOW );
		save( );
		assertTrue( compareFile( "TabularLevelAccessControl_golden_1.xml" ) );
		designHandle.getCommandStack( ).undo( );
		save( );
		assertTrue( compareFile( "TabularLevelAccessControl_golden_2.xml" ) );
		tmpAccess.addRole( "new 2nd role" ); 
		save( );
		assertTrue( compareFile( "TabularLevelAccessControl_golden_3.xml" ) );
		designHandle.getCommandStack( ).undo( );
		tmpAccess.removeRole( "level role1" ); 
		save( );
		assertTrue( compareFile( "TabularLevelAccessControl_golden_4.xml" ) );
	}
	/**
	 * 
	 * @throws Exception
	 */
	public void testMergeDimensionConditions( ) throws Exception
	{
		openDesign( "CubeParserTest_4.xml" ); 
		TabularCubeHandle cube = (TabularCubeHandle) designHandle
				.findCube( "testCube" ); 
		assertNotNull( cube.findDimensionCondition( "testHierarchy" ) );