Project: Birt
Bug 180405 The grand total's result is incorrect[1102]
Reported: 2007-04-01 21:26:14 | Status: closed fixed

Description: The grand total's result is incorrect[1102] Build number: 2.2.0.v20070402-0630 Steps to reproduce: 1, Using the attached design file 2, Preview the results and check the grand total of QUANTITY_PRODUCT Expected result: 42, 7, 13, 5 Actual result: Only calculate the latest row of QUANTITY Error log:

Files changed in fix:
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/DateGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/DayGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/GroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/GroupCalculatorFactory.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/HourGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/ICalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/MinuteGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/MonthGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/NumericGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/QuarterGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/SecondGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/StringGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/WeekGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/group/YearGroupCalculator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java