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/BirtViewerReportService.java
public void renderReport( String docName, int pageNum, String pageRange,
			InputOptions renderOptions, OutputStream out )
			throws ReportServiceException
	{
		IReportDocument doc = ReportEngineService.getInstance( )
				.openReportDocument( getReportDesignName( renderOptions ),
						docName, getModuleOptions( renderOptions ) );
		HttpServletRequest request = (HttpServletRequest) renderOptions
				.getOption( InputOptions.OPT_REQUEST );
		Locale locale = (Locale) renderOptions
				.getOption( InputOptions.OPT_LOCALE );
		Boolean isMasterPageContent = (Boolean) renderOptions
				.getOption( InputOptions.OPT_IS_MASTER_PAGE_CONTENT );
		boolean isMasterPage = isMasterPageContent == null
				? true
				: isMasterPageContent.booleanValue( );
		Boolean svgFlag = (Boolean) renderOptions
				.getOption( InputOptions.OPT_SVG_FLAG );
		boolean isSvg = svgFlag == null ? false : svgFlag.booleanValue( );
		Boolean isRtl = (Boolean) renderOptions
				.getOption( InputOptions.OPT_RTL );
		String servletPath = (String) renderOptions
				.getOption( InputOptions.OPT_SERVLET_PATH );
		try
		{
			ReportEngineService.getInstance( ).renderReport( out, request, doc,
					pageNum, pageRange, isMasterPage, isSvg, null, locale,
					isRtl.booleanValue( ), servletPath );
			doc.close( );
		}