Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353324 - Report parameter values decrement by 1 hour each time report is refreshed
Summary: Report parameter values decrement by 1 hour each time report is refreshed
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.4.0   Edit
Assignee: Yuxuan Dai CLA
QA Contact: Maggie Shen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 09:56 EDT by Paul Anderson CLA
Modified: 2014-03-07 13:12 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Anderson CLA 2011-07-28 09:56:19 EDT
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)
Comment 1 Yuxuan Dai CLA 2014-02-28 19:22:29 EST
(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?
Comment 2 Linda Chan CLA 2014-03-07 13:12:17 EST
See #comment1.
If the issue still exists for you, please feel free to reopen the bug with more details on how to reproduce.