Bug 200478 Name of date/time group level issue[1101]
Description: Name of date/time group level issue[1101] Step: 1. New a sample datasource and dataset from orders. 2. New a data cube and binding to the dataset. 3. Drop the column of "ORDERDATE" to group and select the year type. At this time, the name of group level is "year(ORDERDATE: DateTime)" 4. Edit the the group level. 5. Change the type as month. Actual result: The name of group level is "year(ORDERDATE: DateTime, DateTime)" Expected result: The name of group level is "year(ORDERDATE: DateTime)"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/PropertyCommand.java
public void setMember( MemberRef ref, Object value )
			throws SemanticException
	{
		checkAllowedOperation( );
		PropertyDefn memberDefn = ref.getMemberDefn( );
		PropertyDefn propDefn = ref.getPropDefn( );
		assert propDefn != null;
		assertExtendedElement( module, element, propDefn );
		assert memberDefn != null;
		value = memberDefn.validateValue( module, value );
		
		
		if ( memberDefn.getTypeCode( ) == IPropertyType.NAME_TYPE ||
				memberDefn.getTypeCode( ) == IPropertyType.MEMBER_KEY_TYPE )
			checkItemName( ref, (String) value );
		if ( value instanceof ElementRefValue &&
				memberDefn.getTypeCode( ) == IPropertyType.ELEMENT_REF_TYPE )
		{
			checkRecursiveElementReference( memberDefn, (ElementRefValue) value );
		}
		
		
		
		Object oldValue = ref.getLocalValue( module, element );
		if ( oldValue == null && value == null )
			return;
		if ( oldValue != null && value != null && oldValue.equals( value ) )
			return;
		
		ActivityStack stack = getActivityStack( );