Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 854926

Summary: [rhevm-reports] - Reports - Always show last "Date Range" and its related data (no matter what is selected in IC)
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-reportsAssignee: Yaniv Lavi <ylavi>
Status: CLOSED ERRATA QA Contact: David Botzer <dbotzer>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.1.0CC: bazulay, dyasny, iheim, jcoscia, mkenneth, pstehlik, Rhev-m-bugs, thildred, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: SI22.1 - rhevm-reports-3.1.0-18.el6ev.noarch.rpm Doc Type: Bug Fix
Doc Text:
Previously, when generating reports for a specific date range, the most recent date range was used, regardless of the date range selected from the input control window. The value selected in the input control window is now used to generate reports.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 18:19:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
wrong-dateRange none

Description David Botzer 2012-09-06 10:24:34 UTC
Created attachment 610250 [details]
wrong-dateRange

Description of problem:
For any Report based on Date Range, when selecting Period Range and not the lastest date, 
the report will display the Latest Date instead, in Date Range headline in the report.
And its corresponding data

Version-Release number of selected component (if applicable):
3.1/ SI17

How reproducible:
always

Steps to Reproduce:
1.install rhevm+dwh+report
2.create 1 entity of a kind
3.gather some data for minimum 2d
4.run some reports based on Date range
  
Actual results:
The Selected Date range and the one that is displayed are not the same
it always shows the latest Date Range and its data

Expected results:
should display the correct selected Date range and its data

Additional info:
Pic

Comment 1 Yaniv Lavi 2012-09-06 12:27:49 UTC
Correction to the problem:
No matter what dates the user selects only the top value in the IC is selected. This is also displyed in the critiria as said above.

Comment 2 Yaniv Lavi 2012-09-06 12:55:50 UTC
Posted patch for this:
http://gerrit.ovirt.org/#/c/7817



Yaniv

Comment 4 David Botzer 2012-09-30 06:55:59 UTC
Fixed, 3.1/si19.1
Can change date and data is displayed accordingly
Fixed, 3.1/si19.1

Comment 5 Yaniv Lavi 2012-10-22 13:14:42 UTC
Regression found in SI21.
Reopening this issue.



Yaniv

Comment 6 Yaniv Lavi 2012-10-22 13:34:08 UTC
Opened blocking case with jasper Case Number 00029206.



Yaniv

Comment 7 Yaniv Lavi 2012-10-24 08:54:30 UTC
Fixed in patch upstream:
http://gerrit.ovirt.org/#/c/8763/

and downstream:
https://gerrit.eng.lab.tlv.redhat.com/#/c/2832/


Yaniv

Comment 8 David Botzer 2012-10-24 14:23:16 UTC
Fixed, 3.1/si22.1
Can change date and data is displayed accordingly for daily
on both remote and local
Fixed, 3.1/si22.1

Comment 10 errata-xmlrpc 2012-12-04 18:19:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-1535.html