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
catch ( SemanticException e )
		{
			stack.rollback( );
			throw e;
		}
		catch ( DesignFileException e )
		{
			stack.rollback( );
			throw e;
		}
		
		Library lib = module.getLibraryWithNamespace( namespace );
		doPostReloadAction( lib );
	}
	/**
	 * Does some post actions after library is reloaded. It includes sending out
	 * the LibraryReloadEvent, commit the stack and flush the stack and send out
	 * the ActivityStackEvent.
	 * 
	 * @param lib
	 */
	private void doPostReloadAction( Library lib )
	{
		LibraryReloadedEvent event = new LibraryReloadedEvent( module, lib );
		module.broadcast( event );
		
		ActivityStack activityStack = module.getActivityStack( );
		activityStack.commit( );
		
		activityStack.flush( );