Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
FW: [birt-dev]CheckIn: Fix Bugzilla Bug 124760 --- [regression] Java based scripting -> getData of ICellInstance does not work properly

Title: FW: [birt-dev]CheckIn: Fix Bugzilla Bug 124760 --- [regression] Java based scripting -> getData of ICellInstance does not work properly

Summary 
Modify the getData( ) function in CellInstance.java, and add checking the cellDesign in CellScriptExecutor.java.

Bugzilla Bug (s) Resolved:
Fix Bugzilla Bug 124760 --- [regression] Java based scripting -> getData of ICellInstance  does not work properly.

Description:
Why:
The getColumn from the first cell both in a grid and in a table return 0. But the old file regard it from a table as return 1.

The functions in CellScriptExecutor.java should check whether the cellDesign is null or not.

Fix:
Modify the files.
 
Test Description:
Manu Test
 
Files Edited:
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/CellInstance.java#8 edit
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/CellScriptExecutor.java#10 edit
/org.eclipse.birt.report.engine/test/org/eclipse/birt/report/engine/api/script/instance/InstanceTest.java#3 edit


Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Zhao




Back to the top