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/utility/BirtUtility.java
{
			Object design = reportDesignHandle.getDesignObject( );
			if ( design instanceof IReportRunnable )
			{
				IReportRunnable runnable = (IReportRunnable) design;
				reportTitle = (String) runnable
						.getProperty( IReportRunnable.TITLE );
			}
		}
		return reportTitle;
	}
	/**
	 * Append Error Message with stack trace
	 * 
	 * @param out
	 * @param e
	 * @throws IOException
	 */
	public static void appendErrorMessage( OutputStream out, Exception e )
			throws IOException
	{
		String message = "<html>\n<head>\n<title>" 
				+ BirtResources.getMessage( "birt.viewer.title.error" ) 
				+ "</title>\n"; 
		message += "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\">\n</head>\n"; 
		message += "<body>\n"; 
		String errorId = "document.getElementById('error_detail')"; 
		String errorIcon = "document.getElementById('error_icon')"; 
		String onClick = "if (" + errorId + ".style.display == 'none') { " 
				+ errorIcon + ".innerHTML = '- '; " + errorId