Bug 155786 [Deploy] Total page number is wrong when render a multipage report design
When render a multipage report on BIRT deployed on web servers, total page number is not correct. It show only 1 page in all, which actually should be 123 pages. When I refresh the web pages manually, the total page number became 50, but still not the correct count. And refreshing again, it becomes 123, the correct one.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
processReport( request );
		
		String title = BirtResources
				.getMessage( ResourceConstants.BIRT_VIEWER_TITLE );
		this.reportTitle = ParameterAccessor.htmlEncode( title );
		this.__initParameters( request );
	}
	/*
	 * Prepare the report parameters
	 */
	protected void __initParameters( HttpServletRequest request )
			throws Exception
	{
		this.reportDesignHandle = getDesignHandle( request );
		if ( this.reportDesignHandle == null )
			return;
		InputOptions options = new InputOptions( );
		options.setOption( InputOptions.OPT_REQUEST, request );
		options.setOption( InputOptions.OPT_LOCALE, locale );
		options.setOption( InputOptions.OPT_RTL, new Boolean( rtl ) );
		
		Collection parameterList = getParameterList( );
		
		if ( this.isDesigner
				&& !IBirtConstants.SERVLET_PATH_FRAMESET
						.equalsIgnoreCase( request.getServletPath( ) ) )
			parseConfigVars( request, parameterList );
		
		this.parametersAsString = getParsedParametersAsString( parameterList,
				request, options );