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
else if ( baseURL.lastIndexOf( IBirtConstants.SERVLET_PATH_RUN ) > 0 )
		{
			
			String func = "catchBookmark('" + bookmark + "');"; 
			return "javascript:try{" + func + "}catch(e){parent." + func + "};"; 
		}
		
		StringBuffer link = new StringBuffer( );
		boolean realBookmark = false;
		if ( this.document != null )
		{
			long pageNumber = this.document
					.getPageNumber( action.getBookmark( ) );
			realBookmark = ( pageNumber == this.page && !isEmbeddable );
		}
		try
		{
			bookmark = URLEncoder.encode( bookmark,
					ParameterAccessor.UTF_8_ENCODE );
		}
		catch ( UnsupportedEncodingException e )
		{
			
		}
		link.append( baseURL );
		link.append( ParameterAccessor.QUERY_CHAR );
		
		if ( document != null )
		{
			link.append( ParameterAccessor.PARAM_REPORT_DOCUMENT );