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
}
			catch ( PropertyValueException e )
			{
				throw new MetaDataException(
						new String[]{name, defaultValue.toString( )},
						MetaDataException.DESIGN_EXCEPTION_INVALID_DEFAULT_VALUE );
			}
		}
		
		if ( valueValidator != null )
		{
			MetaDataDictionary dict = MetaDataDictionary.getInstance( );
			if ( dict.getValueValidator( valueValidator ) == null )
				throw new MetaDataException(
						new String[]{valueValidator, name},
						MetaDataException.DESIGN_EXCEPTION_VALIDATOR_NOT_FOUND );
		}
		
		if ( getTypeCode( ) == IPropertyType.DIMENSION_TYPE
				|| ( getTypeCode( ) == IPropertyType.LIST_TYPE && subType
						.getTypeCode( ) == IPropertyType.DIMENSION_TYPE ) )
		{
			String defaultUnit = getDefaultUnit( );
			if ( !StringUtil.isBlank( defaultUnit ) )
			{
				IChoiceSet units = getAllowedChoices( );
				IChoice choice = units.findChoice( defaultUnit );
				if ( choice == null )
				{
					setDefaultUnit( DimensionValue.DEFAULT_UNIT );