Bug 213947 The user defined aggregation in chart builder's data binding doesn't work[13]
Description: The user defined aggregation in chart builder's data binding doesn't work[13] Build number: 2.3.0.v20071227-0800 Steps to reproduce: 1, New a chart 2, Select the data binding 3, New a aggregation such as aggregate on one row and COUNT or SUM 4, Check the result in chart builder Expected result: The aggregation binding's result should be correct Actual result: The aggregation doesn't work and only retrieve the value of that row Error log:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/QueryExecutionHelper.java
{
			ParamBindingHandle paramBinding = (ParamBindingHandle) paramBindingIt.next( );
			if ( paramBinding.getExpression( ) != null )
			{
				ScriptExpression paramValueExpr = new ScriptExpression( paramBinding.getExpression( ) );
				InputParameterBinding inputParamBinding = new InputParameterBinding( paramBinding.getParamName( ),
						paramValueExpr );
				parameterBindings.add( inputParamBinding );
			}
		}
		return parameterBindings;
	}
	/**
	 * @param dataSetName
	 * @throws AdapterException
	 * @throws BirtException
	 */
	private void defineDataSet( DataSetHandle handle ) throws AdapterException,
			BirtException
	{
		if ( handle == null )
			throw new AdapterException( ResourceConstants.DATASETHANDLE_NULL_ERROR );
		
		DataSourceHandle dataSourceHandle = handle.getDataSource( );
		if ( dataSourceHandle != null )
		{
			IBaseDataSourceDesign dsourceDesign = this.modelAdaptor.adaptDataSource( dataSourceHandle );
			dataEngine.defineDataSource( dsourceDesign );
		}
		if ( handle instanceof JointDataSetHandle )