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
Long idObj = new Long( element.getID( ) );
		assert !idMap.containsKey( idObj );
		idMap.put( idObj, element );
		
		long id = element.getID( );
		if ( this.elementIDCounter <= id )
		{
			this.elementIDCounter = id + 1;
		}
	}
	/**
	 * Drops an element from the id-to-element map. Does nothing if IDs are not
	 * enabled. Should be called only from the
	 * {@link org.eclipse.birt.report.model.command.ContentCommand ContentCommand}.
	 * 
	 * @param element
	 *            The old element to remove.
	 */
	public void dropElementID( DesignElement element )
	{
		if ( idMap == null )
			return;
		assert element.getID( ) > 0;
		Long idObj = new Long( element.getID( ) );
		assert idMap.containsKey( idObj );
		idMap.remove( idObj );
	}
	/**
	 * Looks up an element given an element ID. Returns null if no element
	 * exists with the given ID. Also returns null if IDs are not enabled. Note: