Bug 791297 - [ovirt-report] - RFE - Auto advance date for tasks period range
Summary: [ovirt-report] - RFE - Auto advance date for tasks period range
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-reports
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Yaniv Lavi
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-16 16:50 UTC by David Botzer
Modified: 2014-01-14 00:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-03 12:24:48 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description David Botzer 2012-02-16 16:50:02 UTC
Description of problem:
I would like to advance the period date on a task automatically.
e.x a task should send mail every 1 week on a report displaying data from 1/1/2012 until 31/1/2012

When CURRENT_DATE is March, the report will automatically know this thus :
its period date will be ->
1/2/2012 until 29/2/2012

So the function should be
1/ (current_timestamp - interval '1 month')/2012 
until 29/current_timestamp/2012

Version-Release number of selected component (if applicable):
ovirt-reports 3.0
rhevm-reports 3.0.2-2

How reproducible:
always

Steps to Reproduce:
1.create task to any report
2.define in criteria filters the date if its a month than
 -select Value displayed as "CURRENT_DATE"
 -if its a range than since 1/x/20xx until "CURRENT_DATE"
  
Actual results:
User needs to change all its tasks manually to be updated as he pleased

Expected results:
Should do the above automatically - no user intervention

Additional info:

Comment 1 Itamar Heim 2013-02-03 12:24:48 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.