Bug 209451 Default value for Cascading parameter lost.[0705]
Description: Default value for Cascading parameter lost. Build number:2.3.0.v20071112 Steps to reproduce: 1. New sample data source and dataset from CUSTOMERS. 2. New a cascading parameter from COUNTRY, STATE, set default value as USA and CA. 3. Preview. 4. Select other country and then back to USA, check values in state. Expected result: CA in state value list. Actual result: No item for 'CA' Error log:n/a
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtGetCascadeParameterActionHandler.java
Set values = params.keySet( );
				Object lastKey = null;
				int i = 0;
				for ( Iterator it = values.iterator( ); it.hasNext( ); )
				{
					lastKey = it.next( );
					keyValue[i] = params.get( lastKey );
					i++;
				}
				Object lastParamValue = params.get( lastKey );
				Object lastParamDefValue = attrBean.getDefaultValues( ).get(
						lastKey );
				boolean keepDefValue = false;
				if ( lastParamDefValue != null
						&& lastParamDefValue.equals( lastParamValue ) )
					keepDefValue = true;
				paramList = doQueryCascadeParameterSelectionList(
						remainingParamNames.get( 0 ).toString( ), design, group
								.getName( ), keyValue, options, attrBean,
						keepDefValue );
				ret.put( remainingParamNames.get( 0 ), paramList );
				
				
				for ( int j = 1; j < remainingParamNames.size( ); j++ )
				{
					ret.put( remainingParamNames.get( j ), new ArrayList( ) );
				}
			}
		}
		catch ( RemoteException e )