Project: Birt
Bug 279217 IndexOutOfBoundsException after undo steps
Reported: 2009-06-05 04:49:38 | Status: closed fixed

Description: IndexOutOfBoundsException after undo steps Build number: 2.5.0.v20090605-0630 Steps to reproduce: 1, New a data set from sampleDB: select * from CLASSICMODELS.CUSTOMERS where CUSTOMERNUMBER BETWEEN ? AND ? 2, Specify default value for two data set parameters and finish the data set 3, Edit the data set and reset the data set parameters 4, Select the second parameter and click Up button 5, Reset the data set parameter again and click OK to finish the data set 6, Save the report and Press Ctrl+Z to undo Expected result: After step6, undo successfully without exceptions Actual result: Exception happened after step6 Error log:

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/PropertyCommandTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ComplexPropertyCommand.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/MoveListItemRecord.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/PropertyReplaceRecord.java