Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344854

Summary: 'Report parameters' are not visible from 'Data Set - Property binding'
Product: z_Archived Reporter: Michal Oškera <osk>
Component: BIRTAssignee: Birt-ReportDesigner <Birt-ReportDesigner-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: bluesoldier, osk
Version: unspecified   
Target Milestone: 3.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michal Oškera CLA 2011-05-05 11:18:36 EDT
Build Identifier: Eclipse BuildID: 20110218-0911, BIRT: 2.6.2.r262_v20110209

It is not possible to reference report parameters in property binding in data set definition.

Although the JavaScript Formula editor offers existing report parameters for including them to the JS expression representing the Property binding, the attempt to save Data Set edited in this way fail saying: Error evaluating Javascript expression. Script engine error: Report parameter "tstParam" does not exist.

Similar experience is also described in this forum thread:
http://www.birt-exchange.org/org/forum/index.php/topic/21959-report-parameters-and-datasource-property-bindings/page__s__548798ab68c81adcd2505bc008e9c8e9


Reproducible: Always

Steps to Reproduce:
1. Create report parameter tstParam
2. Create data set tstDS
3. Write simple query into Query folder of edited tstDS
4. Rewrite query into Property binding extending it with tstParam (e.g. + params["tstParam"])
5. Click OK button
6. Exception appears saying that Report parameter tstParam does not exist.
Comment 1 Xiaoying Gu CLA 2011-05-06 03:30:56 EDT

*** This bug has been marked as a duplicate of bug 340560 ***