Bug 142132 [regression] cascading parameter does not work properly
steps to reproduce: - use attached report, which contains a group of cascading parameters - preview report expected behavior: - cascading parameter works properly actual behavior: - it simply didn't - i tried several combination, the 3rd value were always empty
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/AbstractGetCascadeParameterActionHandler.java
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.report.context.BaseAttributeBean;
import org.eclipse.birt.report.context.IContext;
import org.eclipse.birt.report.service.BirtViewerReportDesignHandle;
import org.eclipse.birt.report.service.api.IViewerReportDesignHandle;
import org.eclipse.birt.report.service.api.InputOptions;
import org.eclipse.birt.report.service.api.ParameterDefinition;
import org.eclipse.birt.report.service.api.ParameterGroupDefinition;
import org.eclipse.birt.report.service.api.ParameterSelectionChoice;
import org.eclipse.birt.report.service.api.ReportServiceException;
import org.eclipse.birt.report.soapengine.api.CascadeParameter;
import org.eclipse.birt.report.soapengine.api.GetUpdatedObjectsResponse;
import org.eclipse.birt.report.soapengine.api.Operation;
import org.eclipse.birt.report.soapengine.api.Oprand;
import org.eclipse.birt.report.soapengine.api.SelectionList;
import org.eclipse.birt.report.soapengine.api.Vector;
public abstract class AbstractGetCascadeParameterActionHandler extends
		AbstractBaseActionHandler
{
	public AbstractGetCascadeParameterActionHandler( IContext context,
			Operation operation, GetUpdatedObjectsResponse response )
	{
		super( context, operation, response );
	}
	protected void __execute( ) throws RemoteException
	{
		BaseAttributeBean attrBean = ( BaseAttributeBean ) context.getBean( );
		assert attrBean != null;
		Oprand[] params = operation.getOprand( );
		String reportDesignName = attrBean.getReportDesignName( );