Bug 1320298

Summary: FATAL -- : ActionController::RoutingError (No route matches [GET] "/ems_cloud/show/6")
Product: Red Hat CloudForms Management Engine Reporter: Chris Pelland <cpelland>
Component: UI - OPSAssignee: Aparna Karve <akarve>
Status: CLOSED ERRATA QA Contact: Kyrylo Zvyagintsev <kzvyahin>
Severity: urgent Docs Contact:
Priority: high    
Version: 5.5.0CC: akarve, cpelland, dajohnso, hkataria, jhardy, jprause, kmorey, mfeifer, mpovolny, nstephan, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.4   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.5.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1319322 Environment:
Last Closed: 2016-05-31 13:41:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1319322    
Bug Blocks:    

Comment 1 CFME Bot 2016-04-14 21:26:48 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ea5176fe32157ea36116a3f2cdb10d489d243d37

commit ea5176fe32157ea36116a3f2cdb10d489d243d37
Merge: 1ff3ae9 70fd3c0
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Apr 14 16:50:34 2016 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Thu Apr 14 16:50:34 2016 -0400

    Merge branch 'bz1320298_fix_restful_route' into '5.5.z'
    
    Bz1320298 Fix the redirect in restful controllers when button with service dialog for providers is executed
    
    When the button with service dialog for providers is executed, redirect appropriately, based on whether the controller is restful or not.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1320298
    
    Code - clean cherry-pick,
    Spec - manually added,
    Upstream PR - https://github.com/ManageIQ/manageiq/pull/7461
    
    See merge request !870

 .../application_controller/dialog_runner.rb        | 12 ++++++++---
 spec/controllers/ems_cloud_controller_spec.rb      | 23 ++++++++++++++++++++++
 2 files changed, 32 insertions(+), 3 deletions(-)

Comment 2 CFME Bot 2016-04-14 21:27:17 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=70fd3c04d63982a2710d3a5dc56c02c1f9677f4d

commit 70fd3c04d63982a2710d3a5dc56c02c1f9677f4d
Author:     Aparna Karve <akarve>
AuthorDate: Mon Mar 21 16:42:47 2016 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Tue Mar 22 13:44:37 2016 -0700

    Redirect to polymorphic path for restful controllers
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1320298

 app/controllers/application_controller/dialog_runner.rb | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Comment 7 errata-xmlrpc 2016-05-31 13:41:26 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/RHBA-2016:1101