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
{
		openDesign( FILE_NAME_6 );
		StyleHandle style = designHandle.findStyle( "testing-box" ); 
		
		
		DesignElementHandle extendedItem = designHandle
				.findElement( "headerMatrix" ); 
		assertEquals( DesignChoiceConstants.FONT_WEIGHT_400, extendedItem
				.getStringProperty( IStyleModel.FONT_WEIGHT_PROP ) );
		assertEquals( DesignChoiceConstants.FONT_SIZE_X_SMALL, extendedItem
				.getStringProperty( IStyleModel.FONT_SIZE_PROP ) );
		
		
		assertFalse( extendedItem.getPropertyHandle(
				IStyleModel.FONT_FAMILY_PROP ).isSet( ) );
		assertEquals( style.getStringProperty( IStyleModel.FONT_FAMILY_PROP ),
				extendedItem.getStringProperty( IStyleModel.FONT_FAMILY_PROP ) );
		assertFalse( extendedItem.getPropertyHandle(
				IStyleModel.FONT_STYLE_PROP ).isSet( ) );
		assertEquals( style.getStringProperty( IStyleModel.FONT_STYLE_PROP ),
				extendedItem.getStringProperty( IStyleModel.FONT_STYLE_PROP ) );
		assertFalse( extendedItem.getPropertyHandle( IStyleModel.COLOR_PROP )
				.isSet( ) );
		assertEquals( style.getStringProperty( IStyleModel.COLOR_PROP ),
				extendedItem.getStringProperty( IStyleModel.COLOR_PROP ) );
		assertFalse( extendedItem.getPropertyHandle(
				IStyleModel.FONT_VARIANT_PROP ).isSet( ) );
		assertEquals( style.getStringProperty( IStyleModel.FONT_VARIANT_PROP ),
				extendedItem.getStringProperty( IStyleModel.FONT_VARIANT_PROP ) );