Bug 1532701 - Chargeback Rates page title incorrect after deleting rate
Summary: Chargeback Rates page title incorrect after deleting rate
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.10.0
Assignee: Hilda Stastna
QA Contact: Nandini Chandra
URL:
Whiteboard: ui:chargeback
Depends On:
Blocks: 1553251
TreeView+ depends on / blocked
 
Reported: 2018-01-09 15:52 UTC by Mike Shriver
Modified: 2019-02-11 14:06 UTC (History)
8 users (show)

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


Attachments (Terms of Use)

Description Mike Shriver 2018-01-09 15:52:49 UTC
Description of problem:
The title of the chargeback rates pages (Compute and Storage), have incorrect titles after deleting a rate.

Navigating to the Storage or Compute chargeback rates screens results in a plural title:
'Compute Chargeback Rates' or 'Storage Chargeback Rates'

If you select several rates, or navigate to a specific rate's page, and delete the group or singular rate, the page ultimately redirects to the 'All' page for the given rate type.

The title is singular after this redirect - the same as the 'Details' page for a given rate, but without the rate's name included.

The name should be consistent, and plural, on the page of all Compute or Storage Rates


Version-Release number of selected component (if applicable):
5.9.0.15
Observed in Google Chrome

How reproducible:
100%

Steps to Reproduce:
Works for Storage or Compute
1. Navigate to Storage chargeback, note plural page title
2. Create new chargeback rate
3. Select, or navigate to, the newly created rate
4. Delete the rate
5. Note redirect to 'All' page

Actual results:
Page title is singular instead of plural


Expected results:
Page title is plural, matching title of direct navigation to the page

Additional info:

Comment 3 CFME Bot 2018-02-22 10:04:11 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/7129397074a08b0b24215663aea967eb37252b58

commit 7129397074a08b0b24215663aea967eb37252b58
Author:     Hilda Stastna <hstastna>
AuthorDate: Wed Feb 21 16:42:10 2018 +0100
Commit:     Hilda Stastna <hstastna>
CommitDate: Wed Feb 21 16:42:10 2018 +0100

    Fix Chargeback Rates page title
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532701
    
    Fix Chargeback Rates page title in Cloud Intel > Chargeback > Rates
    > Rates folder.

 app/controllers/chargeback_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 5 Mike Shriver 2018-07-06 14:02:31 UTC
Tested in CFME 5.10.0.2.20180626170006_40dc459

When deleting from the All page or from the details page, the title of the 'All' page after redirection is now correct, and consistently plural.


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