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
String label = ModelMessages
				.getMessage( MessageConstants.CHANGE_ITEM_MESSAGE );
		stack.startTrans( label );
		makeLocalCompositeValue( ref );
		MemberRecord record = new MemberRecord( module, element, ref, value );
		record.setEventTarget( getEventTarget( ref.getPropDefn( ) ) );
		stack.execute( record );
		Structure structure = ref.getStructure( module, element );
		List semanticList = structure.validate( module, element );
		if ( semanticList.size( ) > 0 )
		{
			stack.rollback( );
			throw (SemanticException) semanticList.get( 0 );
		}
		stack.commit( );
	}
	/**
	 * Check operation is allowed or not. Now if element is css style instance ,
	 * forbidden its operation.
	 * 
	 */
	private void checkAllowedOperation( )
	{
		
		if ( element != null && element instanceof CssStyle )
			throw new IllegalOperationException(
					CssException.DESIGN_EXCEPTION_READONLY );
	}
}