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