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/api/ModuleHandle.java
PropertyValueException.DESIGN_EXCEPTION_INVALID_VALUE );
		}
		if ( configVar != null
				&& findConfigVariable( configVar.getName( ) ) != null )
		{
			throw new PropertyValueException( getElement( ), propDefn,
					configVar.getName( ),
					PropertyValueException.DESIGN_EXCEPTION_VALUE_EXISTS );
		}
		PropertyCommand cmd = new PropertyCommand( getModule( ), getElement( ) );
		cmd.addItem( new CachedMemberRef( propDefn ), configVar );
	}
	/**
	 * Adds a new embedded image.
	 * 
	 * @param image
	 *            the image to add
	 * @throws SemanticException
	 *             if the name is empty, type is invalid, or the same name
	 *             exists.
	 */
	public void addImage( EmbeddedImage image ) throws SemanticException
	{
		PropertyCommand cmd = new PropertyCommand( module, getElement( ) );
		ElementPropertyDefn propDefn = module.getPropertyDefn( IMAGES_PROP );
		cmd.addItem( new CachedMemberRef( propDefn ), image );
	}
	/**
	 * Checks the name of the embedded image in this report. If duplicate, get a
	 * unique name and rename it.