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/presentation/aggregation/parameter/ComboBoxParameterFragment.java
selectionList = getParameterSelectionListForCascadingGroup(
					attrBean.getReportDesignHandle( request ), service,
					paramValues, options );
			
			parameterBean.setCascade( true );
		}
		else
		{
			
			selectionList = service.getParameterSelectionList( attrBean
					.getReportDesignHandle( request ), options, parameter
					.getName( ) );
			
			parameterBean.setCascade( false );
		}
		parameterBean.setValueInList( false );
		if ( selectionList != null )
		{
			for ( Iterator iter = selectionList.iterator( ); iter.hasNext( ); )
			{
				ParameterSelectionChoice selectionItem = (ParameterSelectionChoice) iter
						.next( );
				Object value = selectionItem.getValue( );
				if ( value == null )
					continue;
				
				
				try
				{
					value = DataUtil.convert( value, paramDef.getDataType( ) );