Bug 110566 Wrong data set result returned when set an invalid filter expression row[0]
description: Wrong data set result returned when set an invalid filter expression row[0] steps to reproduce: 1. set a filter in data set with "row[0] equals to " 2. click on Preview tab. actual result: The first result record returned when preview expected result: As developer said that row[0] can only be generated after all the data were fetched. Row[0] can't be taken as filter expression. Then when set filter like "row[0] equals to 0". some relevant error message should pop up. Or just return null result set.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/FilterByRow.java
logger.entering( FilterByRow.class.getName( ), "process" );
		Context cx = Context.enter();
		try
		{
			boolean isAccepted = true;
			Iterator filterIt = filters.iterator( );
			scriptObj.setRowObject( row, false );
			scriptObj.setCurrentRowIndex( rowIndex );
			while ( filterIt.hasNext( ) )
			{
				IFilterDefinition filter = (IFilterDefinition) filterIt.next( );
				IBaseExpression expr = filter.getExpression( );
	
				Object result = ScriptEvalUtil.evalExpr( expr, cx, scope, "Filter", 0 );
				if ( result == null )
				{
					Object info = null;
					if ( expr instanceof IScriptExpression )
						info = ( (IScriptExpression) expr ).getText( );
					else
						info = expr;
					throw new DataException( ResourceConstants.INVALID_EXPRESSION_IN_FILTER,
							info );
				}
				
				try
				{
					
					if ( DataTypeUtil.toBoolean( result ).booleanValue( ) == false )
					{