Bug 172618 [smoke]Cascading parameter cannot retrieve correct values.[0705]
Description: Cascading parameter cannot retrieve correct values. Build number:2.1.2.v20070202. 2.2.0.v20070131 Steps to reproduce: 1. New sample data source and dataset from OFFICES. 2. New a cascading group, first parameter from COUNTRY, second from STATE 3. Preview. Expected result: Select a country value, then corresponding state value will display. e.g. select France, then only paris in second list. Actual result: Select France, you will see paris, NYC and San Francisco in second list. Error log:N/A
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ResultIterator.java
private int state = NOT_STARTED;
	
	private static final int NOT_STARTED = 0;
	private static final int BEFORE_FIRST_ROW = 1;
	private static final int ON_ROW = 2;
	private static final int AFTER_LAST_ROW = 3;
	private static final int CLOSED = -1;
	
	private boolean isFirstRowPepared = false;
	
	
	private static Logger logger = Logger.getLogger( ResultIterator.class.getName( ) );
	/**
	 * Constructor for report query (which produces a QueryResults)
	 * 
	 * @param context
	 * @param queryResults
	 * @param query
	 * @param odiResult
	 * @param scope
	 * @throws DataException
	 */
	ResultIterator( IServiceForResultSet rService,
			org.eclipse.birt.data.engine.odi.IResultIterator odiResult,
			Scriptable scope ) throws DataException
	{
		assert rService != null
				&& rService.getQueryResults( ) != null && odiResult != null
				&& scope != null;
		this.resultService = rService;