Hi All,
We are trying to migrate from BIRT 2.1.0 to 2.3.1. rptdesign file is working fine on the BIRT 2.1.0, I can view the report. The rptdesign file has custom javascript in onCreate and onRender method.When I run the same rptdesign file on BIRT 2.3.1. I get the following errors.
1. Caused by: org.eclipse.birt.core.exception.CoreException: There are errors evaluating script " count++;if(count == 1){permissions= row["Permissions"];}else{permissions= permissions+" ,"+row["Permissions"];}":ReferenceError: "count" is not defined. (/report/body/table[
@id="213"]/detail/row[
@id="218"]/method[
@name="onCreate"]#2).
2. Caused by: org.eclipse.birt.core.exception.CoreException: There are errors evaluating script "permissions":ReferenceError: "permissions" is not defined. (<inline>#1).
I am attaching the rptdesign file. Any suggestions/comments are appreciated.
Thanks in advance.