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:
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(-)
*** Bug 1217263 has been marked as a duplicate of this bug. ***
*** Bug 1217693 has been marked as a duplicate of this bug. ***
*** Bug 1219055 has been marked as a duplicate of this bug. ***
Verified in 5.4.0.0.25
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