Bug 1168336
| Summary: | UI: Missing routes error on Infra/Cloud Provider & Resource Pool list views when user has saved searches | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Harpreet Kataria <hkataria> | |
| Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> | |
| Status: | CLOSED ERRATA | QA Contact: | Aziza Karol <akarol> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.3.0 | CC: | akarol, drieden | |
| Target Milestone: | GA | |||
| Target Release: | 5.3.2 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.3.2 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1168337 (view as bug list) | Environment: | ||
| Last Closed: | 2015-01-14 19:43:55 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: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1168337 | |||
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(-) 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(-) Fixed. List view screen should load properly verified: 5.3.2.5.20141218144833_50406a5 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/RHSA-2015-0028.html |
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: