Bug 1195401
| Summary: | Breadcrumb navigation error while navigating users | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Aziza Karol <akarol> | ||||
| Component: | UI - OPS | Assignee: | Aparna Karve <akarve> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Aziza Karol <akarol> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.3.0 | CC: | cpelland, jhardy, mfeifer, obarenbo, xlecauch | ||||
| Target Milestone: | GA | Keywords: | ZStream | ||||
| Target Release: | 5.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.5.0.1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1236205 (view as bug list) | Environment: | |||||
| Last Closed: | 2015-12-08 13:02:56 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: | 1236205 | ||||||
| Attachments: |
|
||||||
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/1be8ef929094b7c4b0db64d8cd42b21500b42765 commit 1be8ef929094b7c4b0db64d8cd42b21500b42765 Author: Aparna Karve <akarve> AuthorDate: Mon Mar 2 14:34:11 2015 -0800 Commit: Aparna Karve <akarve> CommitDate: Tue Jun 23 11:01:11 2015 -0700 Generic fix for breadcrumb related issues in vm controllers 1. vm explorer should not add a breadcrumb path when transitioning into a VM Summary screen, but otherwise it should. 2. When in VM Summary screen, breadcrumb path should be created only when transitioning into non-vm_infra controllers 3. cleaned up breadcrumb related code in reconfigure_update Other fixes - 1. Appropriate Breadcrumb name based on the actual model would be displayed https://bugzilla.redhat.com/show_bug.cgi?id=1121759 https://bugzilla.redhat.com/show_bug.cgi?id=1195401 https://bugzilla.redhat.com/show_bug.cgi?id=1230130 vmdb/app/controllers/application_controller.rb | 5 ++++ .../application_controller/ci_processing.rb | 15 ++++------- vmdb/app/controllers/ems_cluster_controller.rb | 2 +- vmdb/app/controllers/host_controller.rb | 2 +- vmdb/app/controllers/mixins/vm_show_mixin.rb | 4 +++ .../app/controllers/provider_foreman_controller.rb | 2 +- vmdb/app/controllers/vm_cloud_controller.rb | 4 +++ vmdb/app/controllers/vm_common.rb | 4 +++ vmdb/app/controllers/vm_infra_controller.rb | 4 +++ vmdb/app/controllers/vm_or_template_controller.rb | 4 +++ vmdb/app/helpers/application_helper.rb | 8 ++++++ .../application_controller/ci_processing_spec.rb | 2 +- .../provider_foreman_controller_spec.rb | 2 +- vmdb/spec/controllers/vm_cloud_controller_spec.rb | 29 ++++++++++++++++++++++ vmdb/spec/controllers/vm_infra_controller_spec.rb | 26 +++++++++++++++++++ .../controllers/vm_or_template_controller_spec.rb | 29 ++++++++++++++++++++++ 16 files changed, 127 insertions(+), 15 deletions(-) Breadcrumb navigation fixed. Verified: 5.5.0.10-beta2.1.20151110134042_d6f5459 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/RHSA-2015:2551 |
Created attachment 994462 [details] err Description of problem: Version-Release number of selected component (if applicable): 5.3.3.2.20150217120931_a465215 How reproducible: 100% Steps to Reproduce: 1.On a VM summary page click on users in security section, the again navigate back to the summary and click on host in relationship 2.click on the users link in the breadcrumb trail 3. Actual results: "The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved." is displayed in UI. see attached screenshot. Expected results: Additional info: production.log: [----] I, [2015-02-23T18:33:51.234939 #2315:ff4808] INFO -- : Started GET "/vm_infra/users/28000000000010" for 127.0.0.1 at 2015-02-23 13:33:51 -0500 [----] F, [2015-02-23T18:33:51.240049 #2315:ff4808] FATAL -- : ActionController::RoutingError (No route matches [GET] "/vm_infra/users/28000000000010"): actionpack (3.2.17) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.17) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.17) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.17) lib/rails/rack/logger.rb:18:in `call' actionpack (3.2.17) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.17) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.17) lib/action_dispatch/middleware/static.rb:63:in `call' railties (3.2.17) lib/rails/engine.rb:484:in `call' railties (3.2.17) lib/rails/application.rb:231:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' railties (3.2.17) lib/rails/rack/log_tailer.rb:17:in `call' thin (1.3.1) lib/thin/connection.rb:80:in `block in pre_process' thin (1.3.1) lib/thin/connection.rb:78:in `catch' thin (1.3.1) lib/thin/connection.rb:78:in `pre_process' thin (1.3.1) lib/thin/connection.rb:53:in `process' thin (1.3.1) lib/thin/connection.rb:38:in `receive_data' eventmachine (1.0.0) lib/eventmachine.rb:187:in `run_machine' eventmachine (1.0.0) lib/eventmachine.rb:187:in `run' thin (1.3.1) lib/thin/backends/base.rb:61:in `start' thin (1.3.1) lib/thin/server.rb:159:in `start' rack (1.4.5) lib/rack/handler/thin.rb:13:in `run' rack (1.4.5) lib/rack/server.rb:268:in `start' railties (3.2.17) lib/rails/commands/server.rb:70:in `start' railties (3.2.17) lib/rails/commands.rb:55:in `block in <top (required)>' railties (3.2.17) lib/rails/commands.rb:50:in `tap' railties (3.2.17) lib/rails/commands.rb:50:in `<top (required)>' script/rails:6:in `require' script/rails:6:in `<main>'