Bug 172273 Grid insert to masterpage dosen't display propertily [05]
Build Number: 2.2.0.v20070131-1050 Description: As the screenshot, insert a grid (3*3) in the master page.It can't be display propertily. Step to reproduce: 1. new a report and switch to masterpage 2. insert a grid (3*3) Actual result: Please refer to the screenshot, it's abnormal.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/PropertyDefn.java
/**
	 * Validates a value to be stored for this value definition. This method
	 * checks names of choice properties first. Then, checks display names of
	 * choice properties. Then uses type to validate value.
	 * 
	 * @param module
	 *            the report design
	 * @param value
	 *            the candidate value
	 * @return the translated value to be stored
	 * @throws PropertyValueException
	 *             if the value is not valid
	 */
	public Object validateValue( Module module, Object value )
			throws PropertyValueException
	{
		Object retValue = null;
		
		if ( hasChoices( ) && getTypeCode( ) != IPropertyType.CHOICE_TYPE )
		{
			retValue = validateExtendedChoicesByName( value );
			if ( retValue == null && value != null )
				retValue = validateExtendedChoicesByDisplayName( module, value
						.toString( ) );
			if ( retValue != null )
				return retValue;
		}
		
		retValue = getType( ).validateValue( module, this, value );