Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug 121682 --- Exception throws when export data from table containing highlight/map

Title: [birt-dev]CheckIn: Fix Bugzilla Bug 121682 --- Exception throws when export data from table containing highlight/map

Description:
 
Why: Previously I use IScriptExpression to receive query.getRowExpression. But when there is highlight/map on the table, query.getRowExpression returns IConditionalExpression.

Fix: I use IBaseExpression to receive the returned _expression_ and decide its type using `instanceof`, and then do the class cast accordingly.


Regression: Yes/No
No
 
Code Owner:
Shanghai Engine Team
 
Code Reviewers:
Shanghai Engine Team
 
Tests:
Unit test
 
Test Automated:  Yes/No (if “No”, then explain why)
Yes
Branches Involved:
Eclipse CVS
 
Files Changed:
src/org/eclipse/birt/report/engine/api/DataExtractionTask.java
test/org/eclipse/birt/report/engine/api/DataExtractionTaskTest.java

Files Shared:
None
 
Files Added:
None
 
Files Deleted:
None
 
Defect Entries Resolved:
None
 
Case Entries Resolved:
None
 
Notes to Developers:
None
 
Notes to QA:
None
 
Notes to Documentation:
None
 
Notes to Configuration Management:
None
 
Notes to Support:
None
 
Notes to Product Marketing:
None


Back to the top