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/context/ViewerAttributeBean.java
throws ReportServiceException
	{
		Map params = new HashMap( );
		if ( parameterList == null )
			return params;
		for ( Iterator iter = parameterList.iterator( ); iter.hasNext( ); )
		{
			ParameterDefinition parameter = (ParameterDefinition) iter.next( );
			if ( parameter == null )
				continue;
			
			String paramName = parameter.getName( );
			if ( paramName == null )
				continue;
			
			String paramValue = null;
			if ( ParameterAccessor.isReportParameterExist( request, paramName ) )
			{
				
				paramValue = ParameterAccessor.getReportParameter( request,
						paramName, null );
				params.put( paramName, paramValue );
			}
			else
			{
				Object paramValueObj = null;
				if ( this.isDesigner
						&& !IBirtConstants.SERVLET_PATH_FRAMESET
								.equalsIgnoreCase( request.getServletPath( ) )
						&& this.configMap != null