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
ExtendedItemHandle extendedItem = (ExtendedItemHandle) designHandle
				.findElement( "testBox" ); 
		assertNotNull( extendedItem );
		PropertyDefn actionDefn = (PropertyDefn) extendedItem
				.getPropertyDefn( IImageItemModel.ACTION_PROP );
		assertNotNull( actionDefn );
		ImageHandle image = (ImageHandle) designHandle
				.findElement( "testImage" ); 
		ActionHandle imageAction = image.getActionHandle( );
		assertNotNull( imageAction );
		String actionString = ModuleUtil.serializeAction( imageAction );
		ActionHandle extendedAction = ModuleUtil.deserializeAction(
				actionString, extendedItem );
		assertNotNull( extendedAction );
		assertNotNull( extendedItem.getProperty( IImageItemModel.ACTION_PROP ) );
		assertEquals( extendedItem, extendedAction.getElementHandle( ) );
	}
	/**
	 * Tests the error handler of extension loader.
	 * 
	 * @throws Exception
	 */
	public void testExtensionLoaderErrorHandler( ) throws Exception
	{
		MetaDataDictionary dd = MetaDataDictionary.getInstance( );
		assertTrue( dd.getExtensions( ).size( ) >= 2 );
		assertNull( dd.getExtension( "wrongTestExtension" ) ); 
	}
	protected static final String TESTING_TABLE = "TestingTable"; 
	protected static final String TABLE = "Table";