1

我希望这是一个新手的简单问题。我在 Workday Studio(基于 Eclipse)中使用 BIRT,但我的辅助数据集遇到了问题。当我将参数设置为辅助数据集并尝试预览结果时,出现以下错误:

Caused by: org.eclipse.birt.report.data.adapter.api.AdapterException: An exception occurred during processing. Please see the following message for details:
Data engine operation failed due to an unexpected exception.
A BIRT exception occurred. See next exception for more information. There are errors evaluating script "row.__rownum": ReferenceError: "row" is not defined.
at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:671)
at org.eclipse.birt.report.engine.api.impl.DatasetPreviewTask.extractQuery(DatasetPreviewTask.java:349)

在我尝试创建联合数据集之前,我能够构建我的报告并成功运行它。当我尝试创建联合数据集时,我收到了完全相同的消息。

有什么想法吗?我在 Workday Studio 中使用 BIRT 已有多年,以前从未遇到过这种情况。

-内森

4

1 回答 1

0

可能 __rownum 伪列仅适用于布局元素的事件,而不适用于 DS onFetch 事件。

于 2020-07-20T07:06:50.500 回答