Summary:
Like Image.uri, Action.uri has the same problem in the design file
of which the version number is early than “3.2.1”. Fixed this problem like
Image.uri.
The solution is that: used uri value to get the column binding
from BIRT.core.data.ExpressionUtil, if the _expression_ value in return column is
equal to the uri value. Do not create column binding. Otherwise, creates it.
Bugzilla Bug (s) Resolved: N/A.
Description:
1. Removed CompatibleImageURIState and
added CompatibleURIState for both image.uri and action.uri.
2. Modified ExpressionState.
3. Updated test cases.
Tests Description : Junit test.
Files Edited:
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/input/Birt2_1_0Expr.xml"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/input/CompatibleBirt2_1M5Expr.xml"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ExpressionState.java"
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/ActionStructureState.java"
"/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/parser/golden/CompatibleBirt2_1M5Expr_golden.xml"
Files Added:
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleURIState.java"
Files Removed:
"/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/CompatibleImageURIState.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