Bug 270302 - Renaming Report Parameters does not impact Expressions in Data Binding
Summary: Renaming Report Parameters does not impact Expressions in Data Binding
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Birt-ReportDesigner CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 13:24 EDT by Dieter Nausch CLA
Modified: 2009-04-03 05:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter Nausch CLA 2009-03-27 13:24:42 EDT
I build up a report wich BIRT 2.3.2. using Report Parameters.
Renaming the Report Parameters did neither rename their use in Data set filters nor in Expressions in the content Tables:

I added Report Parameters in the Report Design Outline.
I added Filters to my Report Data Set using those Parameters such as:
   
  row["ANY_ATTRIBUTE"] equal params["ANY_PARAMETER"].value

I added Expressions in the result set details such as:
 
if (params["ANY_PARAMETER"].value == 'aValue')
{ dataSetRow["ATTRIBUTE_1"]}
else 
{dataSetRow["ATTRIBUTE_2"]}

Then I was renaming parameters in the Report Parameters node of the Report Design Outline View.

As result, the Enter Parameters Dialogue seems to use the new parameters but the report data set filters and expressions in the report detail table keep on using the old parameters names.

In fact after renaming the report parameters, i have to search and replace the parameters in the XML Source manually to make the report work again.
Comment 1 Zhiqiang Qian CLA 2009-04-03 05:11:52 EDT
This is a similar issue as 224015.