Community
Participate
Working Groups
Build Identifier: Build id: 20110218-0911 Whenever you use a Parameter Binding in a Data Source (f.e. take an XML Data Source and use the "XML Data Source File" Property Binding), the Report Designer will throw errors if you try to create a Data Set that uses this Data Source, making the new Data Set unusable in the Report Designer. Reproducible: Always Steps to Reproduce: 1. Create a new empty Report. 2. Create a Report Parameter, say XMLTestFile and point it to a file with input data. 3. Create an XML Data Source and set "XML Data Source File" Property Binding to params["XMLTestFile"].value. 4. Create a Data Set, set it to use the newly created Data Source. Create at least one field in the Data Set and click Finish. You will get the following error: A BIRT exception occurred. Plug-in Provider:Eclipse.org Plug-in Name:BIRT Core Package Plug-in ID:org.eclipse.birt.core Version:2.6.2.r262_v20110209 Error Code:birt.core.JavascriptError Error Message:Error evaluating Javascript expression. Script engine error: Report parameter "XMLTestFile" does not exist. Script source: <inline>, line: 0, text: params["XMLTestFile"].value The same functionality was working perfectly in BIRT 2.6.0
Created attachment 191608 [details] Error screenshot
Created attachment 191609 [details] Sample report with a Report Parameter Attached a sample report. Just create a data set that uses the provided Data Source with one field and click OK to get the error. The create Data Set won't be expandable any more in the Data Explorer tree and unusable in data field bindings.
Created attachment 191610 [details] Sample XML file
This bug was already fixed in 3.7.0M6. Set as fixed.
Can you please provide a fix for this bug and make available via Help>Check for updates in BIRT? This particular bug is causes a lot of grief here, as all my reports depend on it. Please provide a fix asap.
Mingxia, Can we provide a patch for this bug?
Created attachment 191802 [details] patch jar Use attached jar file to replace the package org.eclipse.birt.report.designer.ui.data_xxxx under $Eclipse_Home/plugins directory.
Created attachment 191803 [details] patch jar
Thanks guys, much appreciated
*** Bug 342001 has been marked as a duplicate of this bug. ***
*** Bug 344854 has been marked as a duplicate of this bug. ***
*** Bug 345249 has been marked as a duplicate of this bug. ***