eclipse-birt / birt

Eclipse BIRT™ The open source reporting and data visualization project.
http://www.eclipse.org/birt
Eclipse Public License 2.0
457 stars 394 forks source link

BIRT 4.14.0 - Parameters (String/Date) without "Is Required" are not updated when the report is executed #1960

Closed Sachinjuneja9090 closed 2 weeks ago

Sachinjuneja9090 commented 2 weeks ago

In BIRT 4.14.0, there's an issue where String and Date parameters that are not marked as "Is Required" are not updated properly when the report is run. This means that if a parameter is left blank or has a default value, and it's not set as "Required," BIRT doesn't update or apply the new value when the report is executed.

This problem didn’t occur in BIRT 4.8, where these parameters worked correctly.

speckyspooky commented 2 weeks ago

I did not understand exactly the issue of your description can you provide some screens of the problem. And the best case would be a small test example where we can follow your problem. Have you tested newer versions to like BIRT 4.16/BIRT4.16? Is a specific output format involved or a problem in generally?

I have done a smaller test with optional parameters and optional parameters with default values but I see no update problem on runtime of a report.

My small test example:

grafik

parameter_optional_BIRT_4.14.zip

speckyspooky commented 2 weeks ago

The ticket is also added as discussion #1959

Sachinjuneja9090 commented 2 weeks ago

Thanks, @speckyspooky!

The issue was due to some customizations made by us in the TextBoxParameterFragment.jsp file. We have identified the cause, and it turns out it was not related to BIRT.

Thanks again for your help! 😊