Bug 211379 Fail to print errors in target report to Problem View[0002]
Description: Fail to print errors in target report to Problem View Build number:2.3.0.v20071129 Steps to reproduce: 1. Open attached report and preview. 2. Input 'a' as value and click OK. 3. Click link. The link will pass parameter value row["OFFICECODE"]to self report and change group key to invalid. Expected result: Print errors in Problem View. Actual result: No errors are added in Problem View. Error log: n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
{
			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 )
			{
				
			}
			
			String format = action.getFormat( );
			if ( format == null || format.length( ) == 0 )
				format = hostFormat;