| Summary: | Report parameter values decrement by 1 hour each time report is refreshed | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Anderson <andez2000> |
| Component: | BIRT | Assignee: | Yuxuan Dai <ydai> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Maggie Shen <lshen> |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier, lchan, ydai |
| Version: | unspecified | ||
| Target Milestone: | 4.4.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
(In reply to Paul Anderson from comment #0) > Build Identifier: I20110613-1736 > > Report parameter values decrement by 1 hour each time I refresh a report. I > am running this in UTC Dublin, Edinburgh, Lisbon, London timezone. > > I have created 2 report parameters of date time type. These are DateFrom > and DateTo. The first time I click on Preview tab, I enter the values as: > > DateFrom 2011-06-05 00:00:00 > DateTo 2011-06-05 23:30:00 > > This is shown on the report as: > > DateFrom 2011-06-04 23:00:00 > DateTo 2011-06-05 22:30:00 > > Every time I click on refresh the report preview, 1 hour is taken off each > time. So > > First time I click on refresh the results on the report preview are: > DateFrom 2011-06-04 22:00:00 > DateTo 2011-06-05 21:30:00 > > First time I click on refresh the results on the report preview are: > DateFrom 2011-06-04 21:00:00 > DateTo 2011-06-05 20:30:00 > > Thirs time I click on refresh the results on the report preview are: > DateFrom 2011-06-04 20:00:00 > DateTo 2011-06-05 19:30:00 > > And so on. Even if I restart Eclipse and click on the preview tab without > setting the parameters the problem continues. > > > Reproducible: Always > > Steps to Reproduce: > 1. Create a new report > 2. Create 2 report parameters of date time type, say DateFrom and DateTo > 3. Drag the Report parameters onto the report > 4. Click on the preview tab. > 5. When prompted to enter the date times enter: > DateFrom as 2011-06-05 00:00:00 > DateTo as 2011-06-05 23:30:00 > 6. The report is displayed with the following times: > DateFrom as 2011-06-04 23:00:00 > DateTo as 2011-06-05 22:30:00 > 7. Click on the Refresh Report button. > 8. When prompted for the report parameters, just click OK (do not change > them) I followed your steps and it works for me. Could you upload your report design? |
Build Identifier: I20110613-1736 Report parameter values decrement by 1 hour each time I refresh a report. I am running this in UTC Dublin, Edinburgh, Lisbon, London timezone. I have created 2 report parameters of date time type. These are DateFrom and DateTo. The first time I click on Preview tab, I enter the values as: DateFrom 2011-06-05 00:00:00 DateTo 2011-06-05 23:30:00 This is shown on the report as: DateFrom 2011-06-04 23:00:00 DateTo 2011-06-05 22:30:00 Every time I click on refresh the report preview, 1 hour is taken off each time. So First time I click on refresh the results on the report preview are: DateFrom 2011-06-04 22:00:00 DateTo 2011-06-05 21:30:00 First time I click on refresh the results on the report preview are: DateFrom 2011-06-04 21:00:00 DateTo 2011-06-05 20:30:00 Thirs time I click on refresh the results on the report preview are: DateFrom 2011-06-04 20:00:00 DateTo 2011-06-05 19:30:00 And so on. Even if I restart Eclipse and click on the preview tab without setting the parameters the problem continues. Reproducible: Always Steps to Reproduce: 1. Create a new report 2. Create 2 report parameters of date time type, say DateFrom and DateTo 3. Drag the Report parameters onto the report 4. Click on the preview tab. 5. When prompted to enter the date times enter: DateFrom as 2011-06-05 00:00:00 DateTo as 2011-06-05 23:30:00 6. The report is displayed with the following times: DateFrom as 2011-06-04 23:00:00 DateTo as 2011-06-05 22:30:00 7. Click on the Refresh Report button. 8. When prompted for the report parameters, just click OK (do not change them)