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:
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
Note: We create new Compute or Storage chargeback rates under Cloud Intel > Chargeback > Rates accordion.
fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/3621
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(-)
Verified on 5.10.0.1.