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
.getExtension( TESTING_TABLE );
		IPropertyDefn defn = extDefn.getProperty( "width" ); 
		IChoiceSet set = defn.getAllowedChoices( );
		assertNotNull( set.findChoice( "in" ) );
		assertNotNull( set.findChoice( "cm" ) );
		assertNull( set.findChoice( "mm" ) );
		assertNull( set.findChoice( "pt" ) );
		set = dd.getElement( TABLE )
				.findProperty( "width" ).getAllowedChoices( ); 
		assertNotNull( set.findChoice( "in" ) );
		assertNotNull( set.findChoice( "cm" ) );
		assertNotNull( set.findChoice( "mm" ) );
		assertNotNull( set.findChoice( "pt" ) );
		
		openDesign( FILE_NAME_4 );
		ExtendedItemHandle extendedItem = (ExtendedItemHandle) designHandle
				.findElement( "testTable" ); 
		defn = extendedItem.getPropertyDefn( "width" ); 
		set = defn.getAllowedChoices( );
		assertNotNull( set.findChoice( "in" ) );
		assertNotNull( set.findChoice( "cm" ) );
		assertNull( set.findChoice( "mm" ) );
		assertNull( set.findChoice( "pt" ) );
	}
	/**
	 * Tests IReportItem :: getPredefinedStyles about the property search.
	 * 
	 * @throws Exception
	 */
	public void testPredefinedStyles( ) throws Exception