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
designHandle.rename( clonedCube.getHandle( design ) );
		designHandle.getSlot( IReportDesignModel.CUBE_SLOT ).add(
				clonedCube.getHandle( design ) );
		
		save( );
		assertTrue( compareFile( "CubeParserTest_golden_1.xml" ) ); 		
	}
	/**
	 * Tests cases for cube1 extends another cube2.
	 * 
	 * <ul>
	 * <li>if one new access control is added to the cube1. Access controls on
	 * cube2 will be copies to cube1 first.
	 * <li>if one new value access control is added to the level in the cube1.
	 * Value access controls on the level cube2 will be copies to the level of
	 * cube1 first.
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testExtends( ) throws Exception
	{
		openDesign( FILE_NAME_EXTENDS );
		assertNotNull( designHandle );
		
		libraryHandle = designHandle.getLibrary( "Lib1" ); 
		TabularCubeHandle cube = (TabularCubeHandle) libraryHandle
				.findCube( "testCube" ); 
		TabularCubeHandle newCube = (TabularCubeHandle) designHandle
				.getElementFactory( ).newElementFrom( cube, null );