Bug 137116 row[0] % 2 Equal to 0 no longer works
In 2.0, I applied this highlight condition -- row[0] % 2 Equal to 0 -- to generate a report with alternating row colors. When I run the report in 2.1 RC 0, I get the following error -- "There are errors evaluating script "row[0] % 2".
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/NativeRowObject.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.data.dte;
import java.util.Iterator;
import java.util.LinkedList;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.data.engine.api.IResultMetaData;
import org.eclipse.birt.report.engine.data.IResultSet;
import org.mozilla.javascript.EvaluatorException;
import org.mozilla.javascript.Scriptable;
/**
 * Represents the scriptable object for Java object which implements the
 * interface <code>Map</code>.
 * 
 * @version $Revision: 1.2 $ $Date: 2006/04/07 10:20:15 $
 */
public class NativeRowObject implements Scriptable