Bug 172092 [regression][automation] __maxrows=1 url pattern did not work
steps to reproduce: - preview report using the following url fragment, preview?__report=report/regression_142673.rptdesign&__designer=true&__maxrows=1 expected behavior: - only one data row is displayed actual behavior/: - all data rows are displayed
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java
{
		String paramName = paramHandle.getName( );
		Object paramValue = runValues.get( paramName );
		String type = paramHandle.getDataType( );
		
		if ( paramValue == null )
		{
			if ( paramHandle.allowNull( ) )
				return true;
			log.log( Level.SEVERE, "Parameter {0} doesn't allow a null value.",  
					paramName );
			return false;
		}
		/*
		 * Validate based on parameter type
		 */
		if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( type )
				|| DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( type ) )
		{
			if ( paramValue instanceof Number )
				return true;
			log
					.log(
							Level.SEVERE,
							"The supplied value {0} for parameter {1} is not a number.", new String[]{paramValue.toString( ), paramName} ); 
			return false;
		}
		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) )
		{
			if ( paramValue instanceof Date )