Bug 1486658 - Default Container Image Rate can be deleted
Summary: Default Container Image Rate can be deleted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Hilda Stastna
QA Contact: Yadnyawalk Tale
URL:
Whiteboard: ui:chargeback:flash_msg
Depends On:
Blocks: 1552260 1568084
TreeView+ depends on / blocked
 
Reported: 2017-08-30 10:16 UTC by Yadnyawalk Tale
Modified: 2019-02-07 23:02 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1552260 1568084 (view as bug list)
Environment:
Last Closed: 2019-02-07 23:02:39 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
ytale: automate_bug-


Attachments (Terms of Use)
fixed_5.10.0.17.png (92.66 KB, image/png)
2018-10-03 16:12 UTC, Yadnyawalk Tale
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:02:48 UTC

Comment 1 Tasos Papaioannou 2017-12-05 20:47:48 UTC
Some further details:

1.) If I highlight Default Container Image Rate in the accordion menu, then:

Configuration > Edit this Chargeback Rate is enabled, but Configuration > Remove from the VMDB is disabled.

2.) If I highlight Compute in the accordion menu, then check the box next to Default Container Image Rate:

Configuration > Edit the selected Chargeback Rate is enabled, and so is Configuration > Remove selected Chargeback Rates from the VMDB.

Comment 2 Hilda Stastna 2018-01-10 13:29:05 UTC
fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/3215

Comment 3 Hilda Stastna 2018-01-10 17:22:41 UTC
The bug is completely fixed only with the PR above together with https://github.com/ManageIQ/manageiq/pull/16792

Comment 4 CFME Bot 2018-02-09 16:23:41 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/8b05f8b3be8502bea770220abe0a22f097c7c956

commit 8b05f8b3be8502bea770220abe0a22f097c7c956
Author:     Hilda Stastna <hstastna>
AuthorDate: Wed Jan 10 13:57:25 2018 +0100
Commit:     Hilda Stastna <hstastna>
CommitDate: Tue Jan 30 16:40:35 2018 +0100

    Fix deletion of Default Container Image Rate
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1486658
    
    Fix deletion of Default Container Image Rate in Cloud Intel -> Chargeback
    -> Rates so that the Rate can't be deleted and error message is displayed.

 app/controllers/chargeback_controller.rb | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Comment 7 Yadnyawalk Tale 2018-10-03 16:12:57 UTC
Created attachment 1490176 [details]
fixed_5.10.0.17.png

Fixed! Default Container Image Rate can not be deleted now.
Verified on: 5.10.0.17.20180927011235_1b5cf54

Comment 8 errata-xmlrpc 2019-02-07 23:02:39 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.