Bug 209456 No null value in value list from Select value...[07]
Description: No null value in value list from Select value... Build number:2.3.0.v20071112 Steps to reproduce: 1. New sample data source and dataset from CUSTOMERS. 2. Insert dataset to Layout, add a filter on column STATE, click <Select value...>, check value list. 3. New a report parameter, dynamic, tick off isRequired,value column is STATE, want to set default value as Null Value through <Select value...> Expected result: The column contains null value so it should be able to be selected in value list. Actual result: No null value for selection. Error log:n/a
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/SelectValueFetcher.java
query.addBinding( new Binding( BINDING_ROW_NAME, bindingExprGroup ) );
			query.addGroup( groupDefn );
			query.setUsesDetails( false );
			DataRequestSession session = DataRequestSession.newSession( new DataSessionContext( DataSessionContext.MODE_DIRECT_PRESENTATION,
					dataSetHandle == null ? null
							: dataSetHandle.getModuleHandle( ) ) );
			if ( dataSetHandle != null )
			{
				defineSourceAndDataSets( session,
						dataSetHandle,
						session.getModelAdaptor( ).adaptDataSet( dataSetHandle ),
						inclFilter );
			}
			IPreparedQuery preparedQuery = session.prepare( query );
			IQueryResults results = preparedQuery.execute( null );
			if ( results != null )
			{
				IResultIterator iter = null;
				iter = results.getResultIterator( );
				if ( iter != null )
				{
					while ( iter.next( ) )
					{
						Object candiateValue = iter.getValue( BINDING_ROW_NAME );
						if ( candiateValue != null )
						{
							selectValueList.add( candiateValue );
						}
						iter.skipToEnd( 1 );
					}