Project: Birt
Bug 212505 Use default script ID to skip script debugging
Reported: 2007-12-11 02:04:44 | Status: resolved fixed

In Dte side, when compile or evaluate java script, it would pass in a script source id. This kind of id is currenlty used by report script debugger. So to skip redundant processing for such kind of internal script evaluating, dte need pass in a default ID, which is defined as ScriptExpression.defaultID. If this id is already used for particular meaning and it can not pass in the default ID, we need define them as public constants and let script debugger check and skip them as well.

Files changed in fix:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupInstanceFilter.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupInstanceSorter.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/ColumnReferenceExpression.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/ExprEvaluateUtil.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/ResultIterator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/jointdataset/JoinConditionMatchUnit.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/impl/query/CubeCursorImpl.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/ComputedMeasureHelper.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/IJSObjectPopulator.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/filter/AggrMeasureFilterEvalHelper.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/filter/DimensionFilterEvalHelper.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/filter/TopBottomDimensionFilterEvalHelper.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/util/sort/DimensionSortEvalHelper.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSMethodRunner.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/NEvaluator.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/internal/adapter/OdaDataSetAdapter.java data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/internal/adapter/OdaDataSourceAdapter.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/adapter/ModelDteApiAdapter.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java