Bug 1168337 - UI: Missing routes error on Infra/Cloud Provider & Resource Pool list views when user has saved searches
Summary: UI: Missing routes error on Infra/Cloud Provider & Resource Pool list views w...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.4.0
Assignee: Harpreet Kataria
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On: 1168336
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-26 17:16 UTC by Harpreet Kataria
Modified: 2015-06-16 12:45 UTC (History)
3 users (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
Clone Of: 1168336
Environment:
Last Closed: 2015-06-16 12:45:21 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Harpreet Kataria 2014-11-26 17:16:10 UTC
+++ This bug was initially created as a clone of Bug #1168336 +++

Description of problem: Missing routes for (listnav_search_selected & save_default_search) error on Infra/Cloud Provider & Resource Pool list views when user has saved searches


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


How reproducible:100%


Steps to Reproduce:
1. Go To Infra Providers list view screen
2. Go to advanced search, create a new search and Save it
3. Now try to go to Infra Provider list view it blows up with missing route error:
FATAL -- : Error caught: [ActionController::RoutingError] No route matches {:action=>"listnav_search_selected", :id=>10000000001160, :button=>"apply", :controller=>"resource_pool"}
4. Pressing apply button on advanced search button ended up in missing route error as well:
FATAL -- : Error caught: [ActionController::RoutingError] No route matches {:action=>"save_default_search", :id=>10000000001163, :controller=>"ems_infra"}

Same steps apply for other 2 CIs as well.

Actual results: Missing route error.


Expected results: List view screen should load properly


Additional info:

Comment 1 CFME Bot 2014-11-26 21:01:41 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/c0afa531634ccfce7fbfbdeec08aad6cb9f6598c

commit c0afa531634ccfce7fbfbdeec08aad6cb9f6598c
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Nov 20 17:22:41 2014 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Nov 26 14:11:19 2014 -0500

    Added missing search related routes.
    
    - Added missing routes to routes & specs tests.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1168337
    https://bugzilla.redhat.com/show_bug.cgi?id=1168336

 vmdb/config/routes.rb                           | 12 +++--
 vmdb/spec/routing/ems_cloud_routing_spec.rb     | 60 ++++++++++------------
 vmdb/spec/routing/ems_infra_routing_spec.rb     | 67 ++++++++++---------------
 vmdb/spec/routing/resource_pool_routing_spec.rb | 33 ++++++------
 4 files changed, 80 insertions(+), 92 deletions(-)

Comment 2 CFME Bot 2014-11-26 22:20:58 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=7b9a580abaa0b0352b4075dfabdd556c1ef0e043

commit 7b9a580abaa0b0352b4075dfabdd556c1ef0e043
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Nov 26 14:11:19 2014 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Nov 26 17:20:22 2014 -0500

    Added missing search related routes.
    
    - Added missing routes to routes & specs tests.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1168337
    https://bugzilla.redhat.com/show_bug.cgi?id=1168336
    (cherry picked from commit c0afa53)

 vmdb/config/routes.rb                           |  6 +++
 vmdb/spec/routing/ems_cloud_routing_spec.rb     | 60 ++++++++++------------
 vmdb/spec/routing/ems_infra_routing_spec.rb     | 67 ++++++++++---------------
 vmdb/spec/routing/resource_pool_routing_spec.rb | 33 ++++++------
 4 files changed, 77 insertions(+), 89 deletions(-)

Comment 3 Aziza Karol 2015-02-05 11:36:58 UTC
List view screen loads properly.

upstream verified:
master.20150205053905_aa6d1cd

Comment 5 Shveta 2015-03-13 18:21:54 UTC
Fixed .
Verified in 5.4.0.0.11.20150309201930_8b6a235

Comment 7 errata-xmlrpc 2015-06-16 12:45:21 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://rhn.redhat.com/errata/RHBA-2015-1100.html


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