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
import org.eclipse.birt.report.model.metadata.ElementPropertyDefn;
import org.eclipse.birt.report.model.metadata.ElementRefValue;
import org.eclipse.birt.report.model.metadata.MetaDataDictionary;
import org.eclipse.birt.report.model.metadata.PropertyDefn;
import org.eclipse.birt.report.model.metadata.StructureDefn;
import org.eclipse.birt.report.model.parser.DesignParserException;
import org.eclipse.birt.report.model.parser.LibraryReader;
import org.eclipse.birt.report.model.util.ModelUtil;
import org.eclipse.birt.report.model.util.ReferenceValueUtil;
import org.eclipse.birt.report.model.util.StructureRefUtil;
import org.eclipse.birt.report.model.util.VersionControlMgr;
import org.eclipse.birt.report.model.validators.ValidationExecutor;
import org.eclipse.birt.report.model.writer.ModuleWriter;
import com.ibm.icu.util.ULocale;
/**
 * Core representation of the module element. The module contains:
 * <ul>
 * <li>the name spaces for various kinds of elements
 * <li>a set of slots defined
 * <li>the library list
 * </ul>
 * by the derived class.
 * <p>
 * The Design Engine may be used in the web environment in which it is necessary
 * to identify elements using a unique ID separate from their object pointer.
 * The root class maintains the object ID counter, as well as an id-to-element
 * map. Because the map is costly, it is enabled only if ID support is enabled
 * in the data dictionary.
 */
public abstract class Module extends DesignElement implements IModuleModel