Bug 1521113 - Inconsistent capitalization of 'CPU' when creating chargeback rate
Summary: Inconsistent capitalization of 'CPU' when creating chargeback rate
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Hilda Stastna
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks: 1557388
TreeView+ depends on / blocked
 
Reported: 2017-12-05 20:19 UTC by Tasos Papaioannou
Modified: 2019-02-11 14:02 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1557388 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:02:27 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tasos Papaioannou 2017-12-05 20:19:51 UTC
Description of problem:

When adding a Compute Chargeback Rate, the 'CPU' group changes to 'Cpu' when you click the 'Add' button to add a second tier/row. Also, the 'Cpu Cores' group should display as 'CPU Cores'.

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

5.9.0.11

How reproducible:

100%

Steps to Reproduce:
1.) Create new compute chargeback rate.
2.) Add a new row under the CPU group.
3.) See 'CPU' change to 'Cpu'.
4.) See 'Cpu Cores' displayed under the Group column for Allocated CPU Cores and Used CPU Cores.

Actual results:

Group name 'CPU' changes to 'Cpu' when adding another row.
Group shows as 'Cpu Cores' instead of 'CPU Cores'.

Expected results:

Group name doesn't change from 'CPU' to 'Cpu'.
Group shows as 'CPU Cores'.

Additional info:

Comment 2 Tasos Papaioannou 2017-12-05 20:25:09 UTC
The Group name also changes when trying to add a row under the Disk I/O or Network I/O:

Disk I/O ->  Disk Io
Network I/O -> Net Io

Comment 3 Hilda Stastna 2018-03-14 13:45:52 UTC
Note: We create new Compute or Storage chargeback rates under Cloud Intel > Chargeback > Rates accordion.

Comment 4 Hilda Stastna 2018-03-14 13:47:35 UTC
fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/3621

Comment 5 CFME Bot 2018-03-15 09:22:29 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/86e109a9b3ff84a70bb2b30aa9c6170e0073df2d
commit 86e109a9b3ff84a70bb2b30aa9c6170e0073df2d
Author:     Hilda Stastna <hstastna>
AuthorDate: Wed Mar 14 09:29:37 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Wed Mar 14 09:29:37 2018 -0400

    Fix displaying 'CPU Cores' when creating a chargeback rate

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

    Fix displaying 'CPU Cores' instead of 'Cpu Cores' under the Group column for
    Allocated CPU Cores and Used CPU Cores, when creating a new chargeback rate.

 app/helpers/chargeback_helper.rb | 13 +-
 1 file changed, 7 insertions(+), 6 deletions(-)

Comment 7 Tasos Papaioannou 2018-06-26 16:16:33 UTC
Verified on 5.10.0.1.


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