Bug 145520 Group name will not show up in group list if the group use default name and key expression has no value
Description: Group name will not show up in group list if key expression has no value. Steps to reproduce: 1. Insert a table into report, bind it to a data set 2. Switch to property editor -> groups 3. Click on add button to open new group dialog, then press ok button Expected result: A new group with default name will be added to group list Actual result: A new group is added to group list, but without group name. But when let group tab lost focus and get focus again, you can see the group name.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
module.semanticCheck( module );
		return module;
	}
	/**
	 * Builds up the namespace and id-map for the cloned module.
	 * 
	 * @param module
	 *            the cloned module to build
	 * @param element
	 *            the element in the module to add into the namespace and id-map
	 */
	private void buildNameSpaceAndIDMap( Module module, DesignElement element )
	{
		if ( module == null || element == null )
			return;
		assert !( element instanceof Module );
		if ( element instanceof TemplateElement )
		{
			TemplateParameterDefinition templateParam = element
					.getTemplateParameterElement( module );
			if ( templateParam != null && templateParam.getRoot( ) != module )
			{
				element.setProperty(
						TemplateElement.REF_TEMPLATE_PARAMETER_PROP,
						new ElementRefValue( null, templateParam.getName( ) ) );
			}
		}
		ElementDefn defn = (ElementDefn) element.getDefn( );
		assert module.getElementByID( element.getID( ) ) == null;
		assert element.getID( ) > NO_ID;