Bug 176569 123 is treated as Blank Value in Scalar Parameter [0705]
Description: 123 is treated as Blank Value in Scalar Parameter. Build number: 2.2.0.v20070307-1128 Steps to reproduce: 1. New a Parameter. 2. Untick Allow null value checkbox. Expected result: Parameter works correctly. Actual result: Another Parameter dialogue pops up and when you click OK button again, warning message "NewParameter cannot be blank" pops up (see the screenshot). Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtCacheParameterActionHandler.java
String paramValue = (String) params.get( paramName );
			ConfigVariable configVar = new ConfigVariable( );
			
			ParameterDefinition parameter = attrBean
					.findParameterDefinition( paramName );
			if ( parameter == null )
				continue;
			String pattern = parameter.getPattern( );
			String dataType = ParameterDataTypeConverter
					.ConvertDataType( parameter.getDataType( ) );
			try
			{
				
				boolean isLocale = locs.contains( paramName );
				
				Object paramValueObj = DataUtil.validate( dataType, pattern,
						paramValue, attrBean.getLocale( ), isLocale );
				paramValue = DataUtil.getDisplayValue( paramValueObj );
			}
			catch ( Exception err )
			{
			}
			
			configVar.setName( paramName + "_" + parameter.getId( ) ); 
			configVar.setValue( paramValue );
			handle.addConfigVariable( configVar );
			
			ConfigVariable typeVar = new ConfigVariable( );
			typeVar.setName( paramName + "_" + parameter.getId( ) + "_" 
					+ IBirtConstants.PROP_TYPE );