Bug 135207 parameter dialog is not displayed when drill through to a PDF report that contains parameter with no default value
steps to reproduce: - create 1st report - add a report parameter (no default value) - create 2nd report - add a label "link" - edit hyperlink property (type: drill-through, target report format: PDF) - preview 1st report - click on "link" expected behavior: - parameter dialog should be displayed - target report is rendered in PDF format actual behavior: - "Some required parameter values are not set or set to incompatible data type." was displayed instead.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/servlet/ViewerServlet.java
************************************************************************************/
package org.eclipse.birt.report.servlet;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.report.service.BirtReportServiceFactory;
import org.eclipse.birt.report.service.BirtViewerReportService;
import org.eclipse.birt.report.service.api.InputOptions;
import org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet;
import org.eclipse.birt.report.context.BirtContext;
import org.eclipse.birt.report.context.IContext;
import org.eclipse.birt.report.presentation.aggregation.IFragment;
import org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment;
import org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment;
/**
 * Servlet implementation of BIRT Web Viewer.
 * <p>
 * There are four servlet mappings defined for ViewerServlet in the web.xml.
 * <ul>
 * <li>Frameset - Displays the whole web viewer frameset. (Public)</li>
 * <li>Run - Runs the report and displays the output as a stand-alone HTML
 * page, or as a PDF document. (Public)</li>
 * <li>Navigation - Displays the leftside navigation frame that contains the
 * report parameter page. (Internal)</li>
 * <li>Toolbar - Displays the toolbar above the report content. (Internal)</li>
 * </ul>