Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: fix bugs 189370 [Automation]The attached report cannot preview as web viewer[0002]

- Summary:

Web viewer will execute the scripts and serialize the results to the report design. For example, this.getSortConditions()[0].direction = "Descending" will set SortKey.direction to “Descending”. However, Model simple APIs uses the structure -- SortKey to set the value. It should use the structure handle -- SortKeyHandle. This would result in an invalid serialized report. Then, It could cause the preview failure. Fixed this issue.

- Bugzilla Bug (s) Resolved: 189370

- Description:

1. changed codes in Model.simpleapi and engine.api.script.element to use StructureHandle if possible.

2. updated test cases.

- Tests Description :

JUnit test

- Files Edited:

/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/IDataBinding.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/IFilterCondition.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/IHideRule.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/IHighlightRule.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/element/ISortCondition.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/DataBindingImpl.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/FilterConditionImpl.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/HideRuleImpl.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/HighlightRuleImpl.java
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/element/SortConditionImpl.java
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/simpleapi/SimpleApiTest.java
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/simpleapi/golden/DesignFileTest_golden.xml
/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/simpleapi/input/DesignFileTest.xml
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/simpleapi/IDataBinding.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/simpleapi/IFilterCondition.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/simpleapi/IHideRule.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/simpleapi/IHighlightRule.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/simpleapi/ISortCondition.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/simpleapi/DataBindingImpl.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/simpleapi/FilterConditionImpl.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/simpleapi/HideRuleImpl.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/simpleapi/HighlightRuleImpl.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/simpleapi/ResultSetColumnImpl.java
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/simpleapi/SortConditionImpl.java



- Files Added:



- Files Deleted:



- Notes to Build Team:


- Notes to Developers:



- Notes to QA:



- Notes to Documentation:

 

Rick Lu
Actuate Software Shanghai Center
Tel: (86)21-58826388
Fax: (86)21-58826002
Email: rlu@xxxxxxxxxxx


Back to the top