Bug 180431 Exported files from Export Report have no extension name.[0002]
Description: Exported files from Export Report have no extension name. Build number:2.2.0.v20070402 Steps to reproduce: 1. New a report. 2. Preview in Web Viewer. 3. Click Export Report. 4. Select any kind of format and click OK. 5. Save the report intead of open it. 6. Check the saved file. Expected result: If I choose PDF, the file name should be like "new_report_1.pdf" Actual result: The file name is new_report without extension name. Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
return filePath;
		
		if ( isRelativePath( workingFolder ) )
		{
			filePath = getRealPath( workingFolder + "/" + filePath, request 
					.getSession( ).getServletContext( ) );
		}
		else
		{
			filePath = workingFolder + File.separator + filePath;
		}
		return filePath;
	}
	/**
	 * Get report document name. If passed file path is null, get document file
	 * from request. If isCreated is true, try to create the document file when
	 * file path is null.
	 * 
	 * @param request
	 * @param filePath
	 * @param isCreated
	 * @return
	 */
	public static String getReportDocument( HttpServletRequest request,
			String filePath, boolean isCreated )
	{
		if ( filePath == null )
			filePath = DataUtil.trimString( getParameter( request,
					PARAM_REPORT_DOCUMENT ) );