Bug 791297

Summary: [ovirt-report] - RFE - Auto advance date for tasks period range
Product: [Retired] oVirt Reporter: David Botzer <dbotzer>
Component: ovirt-engine-reportsAssignee: Yaniv Lavi <ylavi>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: acathrow, iheim, pstehlik, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-03 12:24:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.