Bug 1627284

Summary: Disk Size Filter for Report Only Allows Bytes as Size of Disk
Product: Red Hat CloudForms Management Engine Reporter: myoder
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Parthvi Vala <pvala>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: hkataria, lavenel, mpovolny, nansari, obarenbo, simaishi, smallamp
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 23:03:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
report filter disk size bytes bug none

Description myoder 2018-09-10 14:59:11 UTC
Created attachment 1482175 [details]
report filter disk size bytes bug

Description of problem:

Created a custom report based on VMs.  Tried to add a filter based on the disk size, and the user is only allowed to select Bytes as the value.  When selecting KB, MB, GB, or TB, the UI always reverts the selection back to Bytes.

Version-Release number of selected component (if applicable):
CFME 5.9.7.4

How reproducible:
always

Steps to Reproduce:
1. create a custom report based on VMs
2  try to create a filter based on Field => VM and Instance: Disk 1 Size
3. change the value from Bytes to anything else

Actual results:
always reverts back to Bytes

Expected results:
selection should be whatever user selects (KB, MB, etc)

Additional info:
Attached a video showing the behavior.

Comment 4 CFME Bot 2018-09-10 21:03:04 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/4d4f3dc75374a8feb945f01d9f91728b623abf3f
commit 4d4f3dc75374a8feb945f01d9f91728b623abf3f
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Sep 10 12:36:03 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Sep 10 12:36:03 2018 -0400

    Fixed a typo in parameter name

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1627284

 app/controllers/application_controller/filter/expression.rb | 4 +-
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 5 Parthvi Vala 2018-11-06 14:00:08 UTC
FIXED. Verified on 5.10.0.22.20181030184024_26956a0.

Comment 6 errata-xmlrpc 2019-02-07 23:03:43 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.

https://access.redhat.com/errata/RHSA-2019:0212