Bug 1217161 - Refreshing/returning to Configure/Configuration screen causes exception
Summary: Refreshing/returning to Configure/Configuration screen causes exception
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.0
Assignee: Harpreet Kataria
QA Contact: Nandini Chandra
URL:
Whiteboard:
: 1217263 1217693 1219055 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-29 16:40 UTC by Dan Clarizio
Modified: 2015-06-16 13:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 13:00:41 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 Dan Clarizio 2015-04-29 16:40:49 UTC
Description of problem:
Exception when returning to Config screen

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

How reproducible:
Go to Configure/Configuration/Advanced Settings, hit browser refresh or go to a different tab and come back, exception occurs

Actual results:
[----] I, [2015-04-29T09:35:44.120216 #25491:c89e98]  INFO -- : Started GET "/ops/explorer" for 127.0.0.1 at 2015-04-29 09:35:44 -0700
[----] I, [2015-04-29T09:35:44.142746 #25491:c89e98]  INFO -- : Processing by OpsController#explorer as HTML
[----] F, [2015-04-29T09:35:44.957373 #25491:c89e98] FATAL -- : Error caught: [NoMethodError] undefined method `config' for #<Hash:0x0000000d0cad20>
/home/dclarizio/.rvm/gems/ruby-2.0.0-p598/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/core_ext/object/try.rb:36:in `try'
/home/dclarizio/dev/manageiq/vmdb/app/controllers/ops_controller.rb:172:in `explorer'

Expected results:
No exception

Additional info:

Comment 2 CFME Bot 2015-04-29 21:51:05 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/680c8df8f25d5f5bb6848b78892d95ade547bcb4

commit 680c8df8f25d5f5bb6848b78892d95ade547bcb4
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Apr 29 14:14:53 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Apr 29 15:06:50 2015 -0400

    Fixed code that sets session[:changed]
    
    - Fixed to set session[:changed] based upon whether @edit[:current] is Hash or VMDB::Config
    - Added spec tests for the new method.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1217161

 vmdb/app/controllers/ops_controller.rb       |  7 ++++-
 vmdb/spec/controllers/ops_controller_spec.rb | 45 ++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 1 deletion(-)

Comment 3 Harpreet Kataria 2015-04-30 15:25:45 UTC
*** Bug 1217263 has been marked as a duplicate of this bug. ***

Comment 4 Harpreet Kataria 2015-05-01 13:25:51 UTC
*** Bug 1217693 has been marked as a duplicate of this bug. ***

Comment 6 Harpreet Kataria 2015-05-06 16:32:00 UTC
*** Bug 1219055 has been marked as a duplicate of this bug. ***

Comment 7 Nandini Chandra 2015-05-07 00:30:49 UTC
Verified in 5.4.0.0.25

Comment 9 errata-xmlrpc 2015-06-16 13:00:41 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.