Bug 156497 [Regression][Acceptance]Report isn't refreshed when delete used library file.
Description: Report isn't refreshed when delete used library file. Steps to reproduce: 1.New a library, add a label, input actuate. 2.New a report, extend lib.label 3.Delete the library file. 4.Refresh the report in Outline of the report Expected result: Empty label in Layout. Actual result: label with content "actuate" in Layout.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
public void loadLibrarySilently( IncludedLibrary includeLibrary )
	{
		try
		{
			Library library = loadLibrary( includeLibrary.getFileName( ),
					includeLibrary.getNamespace( ) );
			library.setReadOnly( );
			libraries.add( library );
		}
		catch ( DesignFileException e )
		{
			Exception fatalException = ModelUtil.getFirstFatalException( e
					.getExceptionList( ) );
			Library library = new Library( session, this );
			library.setFatalException( fatalException );
			library.setFileName( includeLibrary.getFileName( ) );
			library.setNamespace( includeLibrary.getNamespace( ) );
			library.setValid( false );
			library.setAllExceptions( e.getExceptionList( ) );
			libraries.add( library );
		}
	}
	/**
	 * Returns all libaries this module contains.
	 * 
	 * @return list of libraries.
	 */
	public List getAllLibraries( )
	{
		return getLibraries( IAccessControl.ARBITARY_LEVEL );