Bug 201399 Fail to pass parameter with multi-values in drill-through link[0705][04]
Description: Fail to pass parameter with multi-values in drill-through link Build number:2.2.1.v20070828 Steps to reproduce: 1. New a report with a report parameter p1 allowing multi-values. 2. New a second report with a report parameter p2 allowing multi-values 3. In the first report, define a drill-through link and pass p1 to p2. 4. Preview and click the link. Expected result: Values are passed to target report. Actual result: Object display in the second report instead of paramter values. Try attached master/slave report. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
if ( action == null || context == null )
			return null;
		String baseURL = null;
		Object renderContext = getRenderContext( context );
		if ( renderContext instanceof HTMLRenderContext )
		{
			baseURL = ( (HTMLRenderContext) renderContext ).getBaseURL( );
		}
		if ( renderContext instanceof PDFRenderContext )
		{
			baseURL = ( (PDFRenderContext) renderContext ).getBaseURL( );
		}
		if ( baseURL == null )
			baseURL = IBirtConstants.VIEWER_PREVIEW;
		StringBuffer link = new StringBuffer( );
		String reportName = getReportName( context, action );
		if ( reportName != null && !reportName.equals( "" ) ) 
		{
			link.append( baseURL );
			link
					.append( reportName.toLowerCase( )
							.endsWith( ".rptdocument" ) ? "?__document=" : "?__report=" ); 
			try
			{
				link.append( URLEncoder.encode( reportName,
						ParameterAccessor.UTF_8_ENCODE ) );
			}
			catch ( UnsupportedEncodingException e1 )
			{