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
Object slotPropertyVaiue = extendedItem.getProperty( HEADER_PROP );
		ExtendedItemHandle contentExtendedItem = (ExtendedItemHandle) slotPropertyVaiue;
		assertEquals( "headerMatrix", contentExtendedItem.getName( ) ); 
		assertEquals( contentExtendedItem, designHandle
				.findElement( "headerMatrix" ) ); 
		assertEquals( contentExtendedItem, designHandle
				.getElementByID( contentExtendedItem.getID( ) ) );
		
		PropertyHandle propHandle = extendedItem
				.getPropertyHandle( HEADER_PROP );
		assertTrue( extendedItem.getPropertyDefn( HEADER_PROP ).canContain(
				MetaDataDictionary.getInstance( ).getElement(
						ReportDesignConstants.LABEL_ITEM ) ) );
		assertFalse( propHandle.canContain( ReportDesignConstants.LABEL_ITEM ) );
		
		propHandle = extendedItem.getPropertyHandle( DETAIL_PROP );
		TableHandle table = (TableHandle) propHandle.get( 0 );
		assertEquals( "testTable", table.getName( ) ); 
		
		
		SlotHandle slot = table.getDetail( ).get( 0 ).getSlot( 0 ).get( 0 )
				.getSlot( 0 );
		contentExtendedItem = (ExtendedItemHandle) slot.get( 0 );
		assertEquals( "detailBox", contentExtendedItem.getName( ) ); 
		
		propHandle = extendedItem.getPropertyHandle( FOOTER_PROP );
		GridHandle grid = (GridHandle) propHandle.get( 0 );
		assertEquals( "footerGrid", grid.getName( ) );