Summary:
Fixed smoke test 141493. Do not create bound columns with
duplicate names when saving the design file.
Added support to remove unused bound columns for report item and
scalar parameter.
Bugzilla Bug (s) Resolved: 141493, 140724
Description:
1. Added UnusedBoundColumnsMgr, BoundColumnsWriterMgr
and BoundColumnsMgr for the new feature of removing unused bound columns.
2. Fixed bugs in DataBoundColumnUtil so
that not to create columns with duplicate names.
3. Refactored codes.
4. Added 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/api/ScalarParameterHandle.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/api/ReportItemHandle.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/golden/CompatibleExpression_golden.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/BoundDataColumnsUtilTest.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/DataBoundColumnUtil.java"
Files Added:
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/input/BoundDataColumnsUtilTest_2.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/golden/BoundDataColumnsUtilTest_golden_2.xml"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/UnusedBoundColumnsMgr.java"
"/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/util/BoundColumnsMgr.java"
Files Removed:
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/BoundColumnsMgr.java"
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