Summary:
Predefined styles didn’t use externalized string as their
display labels. Fixed this problem.
For the old design with the version <= 3, “aggregateOn”
of bound columns are not set as group name. This can cause preview error.
Bugzilla Bug (s) Resolved: 143151, 142680
Description:
1. Revised codes related to API and parsing
backward compatibility for bound columns. Provided cases for _expression_ that
defined on element in the group.
2. Provided getDisplayLabel() in style if
the style is a predefined style.
3. Updated test cases.
Tests Description : Junit test.
Files Edited:
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/APICompatibleTest.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleMiscExpressionState.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/golden/CompatibleBoundColumnNestedTable_golden.xml"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/BoundColumnsWriterMgr.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleTestExpreState.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/DataColumnNameValidator.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ListingItemState.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/CompatibleBoundColumnsTest.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/golden/CompatibleDataValueExprWithGroup_golden.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/golden/CompatibleExpression_golden_2.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/golden/CompatibleBirt2_1M5Expr_golden.xml"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/DataBoundColumnUtil.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleParamBindingValueState.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleDataValueExprState.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/i18n/Messages_aa.properties"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/core/DesignElementTest.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/Style.java"
Files Added:
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/golden/CompatibleGroupExpression_golden.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/input/CompatibleGroupExpression.xml"
Files Removed:
Notes to Build Team:
Notes
to Developers:
Notes to QA:
Quotes
to Documentation:
Rick Lu
Actuate Software
Shanghai Center
Tel: (86)21-58826388
Fax: (86)21-58826002
Email: rlu@xxxxxxxxxxx