Bug 1539723 - Editing cloud network(ec2) redirects to empty dialog
Summary: Editing cloud network(ec2) redirects to empty dialog
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
high
high
Target Milestone: GA
: 5.10.0
Assignee: Martin Povolny
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ui:cloud:ec2:network
Depends On:
Blocks: 1540755
TreeView+ depends on / blocked
 
Reported: 2018-01-29 14:03 UTC by Matouš Mojžíš
Modified: 2019-02-11 14:05 UTC (History)
8 users (show)

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


Attachments (Terms of Use)
empty_edit_network_button (49.73 KB, image/png)
2018-01-29 14:03 UTC, Matouš Mojžíš
no flags Details

Description Matouš Mojžíš 2018-01-29 14:03:48 UTC
Created attachment 1387823 [details]
empty_edit_network_button

Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Add an ec2 provider with at least one cloud network
2. Go to Networks -> Networks
3. Check a cloud network
4. Toolbar -> Configuration -> Edit selected cloud network

Actual results:
Empty dialog is displayed and there is not even back button.

Expected results:


Additional info:

Comment 3 Martin Povolny 2018-01-31 10:12:38 UTC
The problem is that the editing of cloud network was only implemented for OpeStack (by the OpenStack team) but enabled for all cloud networks.

The code count's on existence of fields that do not exist for EC2.

The solution here will be disabling the feature for non-openstack entities.

Comment 5 CFME Bot 2018-01-31 13:41:19 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/e07f1cd7ee4fbf56ec0e7c210591c9046af72554

commit e07f1cd7ee4fbf56ec0e7c210591c9046af72554
Author:     Martin Povolny <mpovolny>
AuthorDate: Wed Jan 31 11:29:29 2018 +0100
Commit:     Martin Povolny <mpovolny>
CommitDate: Wed Jan 31 11:29:29 2018 +0100

    Disable cloud network editing and deletion for list view.
    
    Network editing is only implemented for OpenStack. So it needs to be
    disabled for the general case.
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1539723

 .../toolbar/cloud_networks_center.rb                | 21 ---------------------
 1 file changed, 21 deletions(-)

Comment 7 Matouš Mojžíš 2018-07-10 13:25:30 UTC
Verified in 5.10.0.3. EC2 cloud networks cannot be edited.


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