Bug 187763 Parameter sorting issue using attached report design[0002]
Parameter sorting issue using attached report design[0002] Build number: 2.2.0.v20070518-1253 Steps to reproduce: 1.open attach report design 2.preview in layout and select "Germany" 3.click "Show Parameter" ,selecg "Germany" again Expected result: parameter list box is displayed properly Actual result: Many "Germany" display text displayed ,see attached screen shot Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
String servletPath = (String) options
				.getOption( InputOptions.OPT_SERVLET_PATH );
		try
		{
			ViewerAttributeBean attrBean = (ViewerAttributeBean) request
					.getAttribute( IBirtConstants.ATTRIBUTE_BEAN );
			String reportTitle = ParameterAccessor.htmlDecode( attrBean
					.getReportTitle( ) );
			IReportRunnable runnable = (IReportRunnable) design
					.getDesignObject( );
			ReportEngineService.getInstance( ).runAndRenderReport( request,
					runnable, out, format, locale, isRtl.booleanValue( ),
					parameters, isMasterPageContent.booleanValue( ),
					svgFlag.booleanValue( ), displayTexts, servletPath,
					reportTitle );
		}
		catch ( RemoteException e )
		{
			throw new ReportServiceException( e.getLocalizedMessage( ), e
					.getCause( ) );
		}
	}
	/**
	 * @see org.eclipse.birt.report.service.api.IViewerReportService#getParameterDefaultValue(org.eclipse.birt.report.service.api.IViewerReportDesignHandle,
	 *      java.lang.String, org.eclipse.birt.report.service.api.InputOptions)
	 */
	public Object getParameterDefaultValue( IViewerReportDesignHandle design,
			String parameterName, InputOptions options )
			throws ReportServiceException
	{