Bug 179888 The x-tab in library can not be used in report design when a x-tab exist in that report design[1102]
Description: The x-tab in library can not be used in report design when a x-tab exist in that report design[1102] Build number: 2.2.0.v20070329-0630 Steps to reproduce: 1, New a cube and x-tab in library 2, New a cube and x-tab in report 3, Using the x-tab from library in report Expected result: The x-tab can be used from library Actual result: No effact after dragging the x-tab from library explorer Error log:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/PeerExtensionTest.java
public void testParserErrorRecover( ) throws Exception
	{
		openDesign( FILE_NAME_2 );
		ExtendedItemHandle extendedItem = (ExtendedItemHandle) designHandle
				.findElement( "testBox" ); 
		assertNotNull( extendedItem );
		assertEquals( "nonExistingExtension", extendedItem.getExtensionName( ) ); 
		
		assertEquals(
				"1.2mm", extendedItem.getStringProperty( ExtendedItem.X_PROP ) ); 
		assertEquals(
				"11.2mm", extendedItem.getStringProperty( ExtendedItem.Y_PROP ) ); 
		assertEquals(
				"firstDataSet", extendedItem.getStringProperty( ExtendedItem.DATA_SET_PROP ) ); 
		
		assertNull( designHandle.findElement( "testTable" ) ); 
		
		LabelHandle label = designHandle.getElementFactory( ).newLabel(
				"testLabel" ); 
		assertEquals( "testLabel1", label.getName( ) ); 
		designHandle.getBody( ).add( label );
		save( );
		assertTrue( compareFile( "PeerExtensionTest_golden_2.xml" ) ); 
	}
	/**
	 * Tests an extension has 'extensionName' property even if it does not
	 * extend from 'ExtendedItem'.
	 * 
	 * @throws Exception
	 */