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/src/org/eclipse/birt/report/model/command/LibraryCommand.java
{
		ElementRefValue value = (ElementRefValue) child.getLocalProperty(
				module, IDesignElementModel.EXTENDS_PROP );
		DesignElement parent = value.getElement( );
		assert parent != null;
		
		if ( child.getDefn( ).getSlotCount( ) == 0 )
		{
			
			parent.dropDerived( child );
			value.unresolved( value.getName( ) );
			return Collections.EMPTY_MAP;
		}
		Map overriddenValues = ElementStructureUtil.collectPropertyValues(
				module, child );
		
		ActivityStack activityStack = getActivityStack( );
		activityStack.startSilentTrans( );
		LevelContentIterator contentIter = new LevelContentIterator( module,
				child, 1 );
		while ( contentIter.hasNext( ) )
		{
			DesignElement tmpElement = (DesignElement) contentIter.next( );
			ContentCommand command = new ContentCommand( module,
					new ContainerContext( child, tmpElement.getContainerInfo( )
							.getSlotID( ) ) );
			command.remove( tmpElement, false, true );
		}
		activityStack.commit( );