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
}
		return filePaths;
	}
	/**
	 * Tests needSave method.
	 * 
	 * Only change happens directly on report design, isDirty mark of report
	 * design is true. So when library changed, isDirty mark of report design
	 * should be false.
	 * 
	 * <ul>
	 * <li>reload error library and throw out exception</li>
	 * <li>isDirty not changed</li>
	 * 
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testErrorLibraryNeedsSave( ) throws Exception
	{
		List fileNames = new ArrayList( );
		fileNames.add( INPUT_FOLDER + "DesignWithSaveStateTest.xml" ); 
		fileNames.add( INPUT_FOLDER + "LibraryWithSaveStateTest.xml" ); 
		List filePaths = dumpDesignAndLibrariesToFile( fileNames );
		String designFilePath = (String) filePaths.get( 0 );
		openDesign( designFilePath, false );
		String libFilePath = (String) filePaths.get( 1 );
		openLibrary( libFilePath, false );
		LabelHandle labelHandle = designHandle.getElementFactory( ).newLabel(
				"new test label" );