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
assertFalse( designHandle.getCommandStack( ).canRedo( ) );
		assertFalse( designHandle.getCommandStack( ).canUndo( ) );
		save( );
		assertTrue( compareFile( "DesignToReloadLibrary_golden.xml" ) ); 
	}
	/**
	 * Test cases:
	 * 
	 * <ul>
	 * <li>remove the table lib1.libTable1 from the library and add a grid
	 * lib1.libTable1. Design.table1 can not be resolved to gri lib1.libTable1.
	 * </ul>
	 * 
	 * @throws Exception
	 */
	public void testReloadLibraryWithInvalidExtends( ) throws Exception
	{
		List fileNames = new ArrayList( );
		fileNames.add( INPUT_FOLDER + "DesignToReloadLibrary.xml" ); 
		fileNames.add( INPUT_FOLDER + "LibraryToReload.xml" ); 
		List filePaths = dumpDesignAndLibrariesToFile( fileNames );
		String designFilePath = (String) filePaths.get( 0 );
		openDesign( designFilePath, false );
		String libFilePath = (String) filePaths.get( 1 );
		
		openLibrary( libFilePath, false );
		libraryHandle.findElement( "libTable2" ).drop( ); 
		GridHandle grid = libraryHandle.getElementFactory( ).newGridItem(
				"libTable2", 2, 2 );