Project: Birt
Bug 153507 Bogus error when bad data set column referenced in group key
Reported: 2006-08-10 19:41:52 | Status: resolved fixed

Run attached report design. Its group key binding column, "groupkey", is defined to refer to a non-existing data set column: dataSetRow["bad"]. However the actual error seen when previewing the report in BIRT designer: Table (id = 6): + A BIRT exception occurred: Error evaluating Javascript expression. Script engine error: TypeError: valueOf is not a function. Script source: null, line: 0, text: <compiled script>. See next exception for more information. Error evaluating Javascript expression. Script engine error: TypeError: valueOf is not a function. Script source: null, line: 0, text: <compiled script> This error is completely irrelevant to the actual cause of the problem.

Files changed in fix:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/i18n/ResourceConstants.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ComputedColumnHelper.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/GroupComputedColumn.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/DateGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/DayGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/GroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/GroupCalculatorFactory.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/HourGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/ICalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/MinuteGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/MonthGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/NumericGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/QuarterGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/SecondGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/StringGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/WeekGroupCalculator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/group/YearGroupCalculator.java