Bug 177296 Redundant Values are added to parameter list in preview mode.[0705]
Description: Redundant Values are added to parameter list in preview mode. Build number:2.2.0.v20070312 Steps to reproduce: 1. Open attached report. 2. Preview. 3. Select datetime value and click OK. 4. Click Show Report Parameters button, check values Expected result: Values are unchanged and only one datetime value in list. Actual result: Two same datetime values in list.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/actionhandler/BirtGetCascadeParameterActionHandler.java
keyValue[i] = params.get( it.next( ) );
					i++;
				}
				paramList = doQueryCascadeParameterSelectionList(
						remainingParamNames.get( 0 ).toString( ), design, group
								.getName( ), keyValue, options, attrBean );
				ret.put( remainingParamNames.get( 0 ), paramList );
			}
		}
		catch ( RemoteException e )
		{
			throw new ReportServiceException( e.getLocalizedMessage( ) );
		}
		return ret;
	}
	private List doQueryCascadeParameterSelectionList( String paramName,
			IViewerReportDesignHandle design, String groupName,
			Object[] groupKeys, InputOptions options,
			ViewerAttributeBean attrBean ) throws RemoteException,
			ReportServiceException
	{
		List selectionList = new ArrayList( );
		Collection list = getReportService( )
				.getSelectionListForCascadingGroup( design, groupName,
						groupKeys, options );
		if ( list != null && list.size( ) > 0 )
		{
			
			ParameterDefinition parameter = attrBean
					.findParameterDefinition( paramName );