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
{
				TemplateParameterDefinition templateParam = (TemplateParameterDefinition) slot
						.getContent( i );
				if ( templateParam.getClientList( ).isEmpty( ) )
				{
					slot.remove( templateParam );
					
					
					module.manageId( templateParam, false );
					
					templateParam.setContainer( null, NO_SLOT );
				}
			}
		}
		
		this.nameManager.clear( );
	}
	/**
	 * Resolves element with the given element name and name space.
	 * <code>propDefn</code> gives the information that how to resolve the
	 * <code>elementName</code>.
	 * 
	 * @param elementName
	 *            name of the element
	 * @param nameSpace
	 *            name space
	 * @param propDefn
	 *            the property definition
	 * @return the resolved element if the name can be resolved, otherwise,
	 *         return null.