Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 282093

Summary: currentRow doesn't work for script data set
Product: z_Archived Reporter: Tianli Zhang <tzhang>
Component: BIRTAssignee: Zhang Lei <LZhang>
Status: CLOSED DUPLICATE QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, lzhu, mwu, wenfeng.fwd
Version: 2.5.0Keywords: plan
Target Milestone: 4.2.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tianli Zhang CLA 2009-06-30 21:28:38 EDT
Description:
Create a script dataset and use currentRow.setColumnValue("a", "test") to set value for column a. When preview the dataset I got exception: 

Error log:
org.eclipse.birt.data.engine.core.DataException: A BIRT exception occurred: There are errors evaluating script "__bm_fetch()":
ReferenceError: "currentRow" is not defined. (<inline>#5).. See next exception for more information.
There are errors evaluating script "__bm_fetch()":

Build number: 
2.5.1.v20090701-0630
Comment 1 Lin Zhu CLA 2010-02-03 22:48:56 EST
Suggest to fix these script relate problem in next major release. We should have a look of all the script object supported by BIRT, and maybe some of them are obsolete.
Comment 2 Xiaoying Gu CLA 2012-04-19 02:17:20 EDT
There is no definition for "currentRow", it is obsolete.
And UI also needs change to keep consistency. This is described in #285899. So mark this issue as a duplicated issue of #285899.

*** This bug has been marked as a duplicate of bug 285899 ***