Bug 1627284 - Disk Size Filter for Report Only Allows Bytes as Size of Disk
Summary: Disk Size Filter for Report Only Allows Bytes as Size of Disk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Harpreet Kataria
QA Contact: Parthvi Vala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-10 14:59 UTC by myoder
Modified: 2022-03-13 15:32 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-07 23:03:43 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
report filter disk size bytes bug (743.32 KB, video/mp4)
2018-09-10 14:59 UTC, myoder
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:0212 0 None None None 2019-02-07 23:03:50 UTC

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


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