Bug 209464 Drill-through link should pass svg parameter value[0002]
Description: Drill-through link should pass svg parameter value Build number:2.3.0.v20071112 Steps to reproduce: 1. Insert a chart. 2. Define drill-through link in chart interactivity which link to the current report. 3. In preference, enable svg. 4. Preview and click the link. Expected result: Display chart with same type after drill-through link Actual result: In preview page, chart is svg chart.After drill-through link, the same chart in the linked page has gray background which means the chart is converted to non-svg image. Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
if ( ParameterAccessor.isOpenAsAttachment( request )
					|| !ParameterAccessor.PARAM_FORMAT_HTML
							.equalsIgnoreCase( ParameterAccessor
									.getFormat( request ) ) )
			{
				baseURL = request.getScheme( ) + "://" 
						+ request.getServerName( ) + ":" 
						+ request.getServerPort( );
			}
			else
			{
				baseURL = ""; 		
			}
		}
		
		baseURL += request.getContextPath( );
		HTMLRenderOption renderOption = new HTMLRenderOption( );
		renderOption.setImageDirectory( ParameterAccessor
				.getImageTempFolder( request ) );
		renderOption.setBaseImageURL( baseURL + imageBaseUrl );
		if ( servletPath != null && servletPath.length( ) > 0 )
		{
			renderOption.setBaseURL( baseURL + servletPath );
		}
		else
		{
			renderOption.setBaseURL( baseURL + IBirtConstants.SERVLET_PATH_RUN );
		}
		renderOption.setEnableAgentStyleEngine( ParameterAccessor
				.isAgentStyle( request ) );