Project: Birt
Bug 265403 Change in Script API
Reported: 2009-02-18 22:47:37 | Status: verified fixed

In 2.5 IReportElementInstance, the signature of the getParent() and getRowData() method have changed to throw an BirtException. There is a strong chance that this will break a lot of peoples event handler code. If throwing the error is absolutely necessary, I would recommend throwing a ScriptException to match the other Script API classes.

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/instance/IReportElementInstance.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/instance/ReportElementInstance.java