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.addElementID( element );
		
		
		String name = element.getName( );
		assert !StringUtil.isBlank( name )
				|| defn.getNameOption( ) != MetaDataConstants.REQUIRED_NAME;
		
		assert element.getContainer( ) != null;
		int id = defn.getNameSpaceID( );
		if ( name != null && id != MetaDataConstants.NO_NAME_SPACE
				&& element.isManagedByNameSpace( ) )
		{
			NameSpace ns = module.getNameSpace( id );
			assert !ns.contains( name );
			ns.insert( element );
		}
		for ( int i = 0; i < defn.getSlotCount( ); i++ )
		{
			ContainerSlot slot = element.getSlot( i );
			assert slot != null;
			for ( int pos = 0; pos < slot.getCount( ); pos++ )
			{
				DesignElement innerElement = slot.getContent( pos );
				buildNameSpaceAndIDMap( module, innerElement );
			}
		}
	}
	/**
	 * Adds a new Translation entry to the module. A report file can reference
	 * message IDs that are defined by the customers. One entry of