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/library/ReloadLibraryTest.java
( (ThemeHandle) libraryHandle.getThemes( ).get( 0 ) ).getStyles( )
				.drop( 0 );
		
		libTable1.getDetail( ).drop( 0 );
		libTable1.getDetail( ).drop( 0 );
		assertEquals( 0, libTable1.getDetail( ).getCount( ) );
		
		TableHandle libTable2 = (TableHandle) libraryHandle
				.findElement( "libTable2" ); 
		libTable2.drop( );
		libraryHandle.save( );
		
		MyLibraryListener libraryListener = new MyLibraryListener( );
		designHandle.addListener( libraryListener );
		designHandle.reloadLibrary( libraryHandle );
		assertEquals( 1, libraryListener.events.size( ) );
		assertTrue( libraryListener.events.get( 0 ) instanceof LibraryReloadedEvent );
		
		assertEquals( 3, ns.getCount( ) );
		
		assertEquals( ColorPropertyType.BLACK, table1
				.getStringProperty( Style.COLOR_PROP ) );
		assertEquals( ColorPropertyType.BLACK, label1
				.getStringProperty( Style.COLOR_PROP ) );
		assertNull( label1.getStyle( ) );
		assertEquals( "style1", label1 
				.getStringProperty( StyledElement.STYLE_PROP ) );
		
		assertEquals( 0, table1.getDetail( ).getCount( ) );
		assertEquals( 1, table1.getHeader( ).getCount( ) );