Bug 176436 Charts Imported from Libraries do not update when libraries change
During a live presentation of BIRT at EclipseCon, we came across a rather embarassing issue. When charts are included in a library, and imported into a report design from a library, any changes to the library instance of the chart do not reflect in the report itself.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/PeerExtensionTest.java
/**
	 * Tests extension allowed units.
	 * 
	 * @throws Exception
	 */
	public void testExtensionAllowedUnits( ) throws Exception
	{
		
		MetaDataDictionary dd = MetaDataDictionary.getInstance( );
		ExtensionElementDefn extDefn = (ExtensionElementDefn) dd
				.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" ) );