Bug 1195401 - Breadcrumb navigation error while navigating users
Summary: Breadcrumb navigation error while navigating users
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
medium
medium
Target Milestone: GA
: 5.5.0
Assignee: Aparna Karve
QA Contact: Aziza Karol
URL:
Whiteboard:
Depends On:
Blocks: 1236205
TreeView+ depends on / blocked
 
Reported: 2015-02-23 18:45 UTC by Aziza Karol
Modified: 2015-12-08 13:02 UTC (History)
5 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1236205 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:02:56 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
err (17.97 KB, image/png)
2015-02-23 18:45 UTC, Aziza Karol
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Aziza Karol 2015-02-23 18:45:50 UTC
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>'

Comment 3 CFME Bot 2015-06-24 20:58:32 UTC
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(-)

Comment 4 Aziza Karol 2015-11-20 05:34:16 UTC
Breadcrumb navigation fixed.

Verified:
5.5.0.10-beta2.1.20151110134042_d6f5459

Comment 6 errata-xmlrpc 2015-12-08 13:02:56 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/RHSA-2015:2551


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