Bug 1392641 - Edit Button fails if navigating from Provider => Some Relationship, selecting an object, and choosing Edit from the toolbar
Summary: Edit Button fails if navigating from Provider => Some Relationship, selecting...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.0
Assignee: Aparna Karve
QA Contact: Satyajit Bulage
URL:
Whiteboard: ui:button
Depends On: 1428447
Blocks: 1393516
TreeView+ depends on / blocked
 
Reported: 2016-11-08 00:14 UTC by Tzu-Mainn Chen
Modified: 2017-06-12 17:31 UTC (History)
6 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1393516 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:31:17 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tzu-Mainn Chen 2016-11-08 00:14:46 UTC
Description of problem:

If I start from, say, an OpenStack cloud provider, click on Host Aggregates, and then select an aggregate and choose Edit from the toolbar, I get an error:

No route matches {:action=>"layouts/gtl", :controller=>"ems_cloud", :id=>nil} [ems_cloud/button]

Same applies for Storage Manager > Volume > Edit

If I select Host Aggregate or Volume from the left navigation and choose to Edit, there are no errors.

Comment 3 CFME Bot 2016-11-08 22:11:31 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/e16c035065a905f2e2decd05bf719833a49b1480

commit e16c035065a905f2e2decd05bf719833a49b1480
Author:     Aparna Karve <akarve>
AuthorDate: Tue Nov 8 12:45:48 2016 -0800
Commit:     Aparna Karve <akarve>
CommitDate: Tue Nov 8 13:10:32 2016 -0800

    Route the ems_cloud relationship links appropriately
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1392641

 app/controllers/ems_common.rb | 6 ++++++
 1 file changed, 6 insertions(+)

Comment 5 Satyajit Bulage 2017-03-10 14:35:23 UTC
For OpenStack Provider, select an aggregate and choose Edit from the toolbar not throwing any error. 
But the navigation to Storage Manager is missing in the current build (5.8.0.4.20170307183144_745a3d9) separate BZ is logged for it.

Comment 6 Satyajit Bulage 2017-04-17 13:02:46 UTC
The edit button is working without any error when navigating through Provider --> Relationship, Select Host aggregate. 

Same applies for Volume Edit.

Verified Version: 5.8.0.10-beta1.20170411212748_e47d319


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