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/ReportEngineService.java
*/
	public void renderReport( OutputStream out, HttpServletRequest request,
			IReportDocument reportDocument, String format, long pageNumber,
			String pageRange, boolean masterPage, boolean svgFlag,
			List activeIds, Locale locale, boolean rtl, String iServletPath )
			throws RemoteException
	{
		if ( reportDocument == null )
		{
			AxisFault fault = new AxisFault(
					BirtResources
							.getMessage( ResourceConstants.ACTION_EXCEPTION_NO_REPORT_DOCUMENT ) );
			fault.setFaultCode( new QName(
					"ReportEngineService.renderReport( )" ) ); 
			throw fault;
		}
		if ( out == null )
			return;
		
		String servletPath = iServletPath;
		if ( servletPath == null )
			servletPath = request.getServletPath( );
		
		IRenderTask renderTask = engine.createRenderTask( reportDocument );
		
		BirtUtility.addTask( request, renderTask );
		
		Map context = BirtUtility.getAppContext( request,
				ReportEngineService.class.getClassLoader( ) );
		renderTask.setAppContext( context );