Summary:
Used the new way to support backward compatibility for DataItem.valueExpr.
For DataItem.valueExpr, creates a bound column of which name and _expression_ are
equal to the valueExpr value. And if the valueExpr is a simple _expression_ like “row[“data1”]
“, do not create duplicate bound data columns.
Bugzilla Bug (s) Resolved: 136395, 136784
Description:
1. Revised codes in CompatibleDataValueExprState.
2. Updated test cases.
Tests Description : Junit test.
Files Edited:
"/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/parser/golden/CompatibleBirt2_1M5Expr_golden.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/golden/CompatibleBoundColumnNestedTable_golden.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/golden/PropertyStateTest_golden.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/writer/golden/DesignWriterTest_golden.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/golden/PropertyHandleTest_golden2.xml"
"/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/parser/CompoundExtendParserTest.java"
Files Added:
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