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
assertEquals(
				cube.findDimensionCondition( "testHierarchy" ).getStructure( ), cube.findDimensionCondition( (HierarchyHandle) design.findOLAPElement( "testHierarchy" ).getHandle( design ) ).getStructure( ) ); 
		save( );
		assertTrue( compareFile( "CubeParserTest_golden_3.xml" ) ); 
	}
	/**
	 * When we delete an element, we will remove the structure whose member
	 * refers the deleted element. However, this feature only works for the
	 * first level structure. It does not work for the second structure.
	 * 
	 * @throws Exception
	 */
	public void testClearStructureForElementRemove( ) throws Exception
	{
		openDesign( FILE_NAME );
		LevelHandle levelHandle = designHandle
				.findLevel( "testDimension/testLevel" ); 
		levelHandle.dropAndClear( );
		
		save( );
		assertTrue( compareFile( "CubeParserTest_golden_4.xml" ) ); 
	}
	private static void checkNotificationStatus( MyListener listener )
	{
		assertEquals( NotificationEvent.PROPERTY_EVENT, listener.getEventType( ) );
		assertEquals( TabularCubeHandle.ACCESS_CONTROLS_PROP, listener
				.getPropName( ) );
		listener.reset( );
	}
	private static class MyListener implements Listener