| Summary: | Does not get custom date string from parameter in query | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | FC Bester <fc_Bester> | ||||||
| Component: | BIRT | Assignee: | Birt-ReportViewer <Birt-ReportViewer-inbox> | ||||||
| Status: | NEW --- | QA Contact: | Xiaoying Gu <bluesoldier> | ||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | bluesoldier, digulla | ||||||
| Version: | 3.7.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
FC Bester
Could you please attach a sample report? I can not reproduce this issue in the 2.6.0 release build Created attachment 175818 [details]
Param screen
Created attachment 175819 [details]
When u run it
Im also use the 2.6.0 build and it works when u enter the params on the screen. its when it has to read them from the browser string that u get the error. hope the screen shots help. I have the same issue with 3.7.0. I tried to debug it but the parameters dialog shows before the debugger is started, so the break point in org.eclipse.birt.report.utility.DataUtil.validate(String, String, String, Locale, TimeZone, boolean) is never reached. My guess is that the validate method never sees the custom format. If you enter the date in one of the formats of your default/current locale, it's accepted. The problem only happens when you set a custom format in "Format as" in the "Display As" part of the "Edit Parameter" dialog. |