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
{
			propHandle.add( label );
			fail( );
		}
		catch ( SemanticException e )
		{
		}
		contentExtendedItem.drop( );
		assertEquals( 0, propHandle.getContentCount( ) );
		propHandle.add( label );
		assertEquals( 1, propHandle.getContentCount( ) );
		assertEquals( extendedItem, label.getContainer( ) );
		
		propHandle = extendedItem.getPropertyHandle( DETAIL_PROP );
		TableHandle table = (TableHandle) propHandle.get( 0 );
		TableGroupHandle tableGroup = designHandle.getElementFactory( )
				.newTableGroup( );
		table.getGroups( ).add( tableGroup );
		assertEquals( table, tableGroup.getContainer( ) );
		ListHandle list = designHandle.getElementFactory( ).newList( "list" ); 
		propHandle.add( list );
		assertEquals( 2, propHandle.getContentCount( ) );
		
		save( );
		assertTrue( compareFile( "PeerExtensionTest_golden_1.xml" ) ); 
	}
	/**
	 * 
	 * @throws Exception
	 */