Bug 1279600 - undefined method `x_get_child_nodes' for TreeBuilder:Class [report/get_report] while accessing saved reports
Summary: undefined method `x_get_child_nodes' for TreeBuilder:Class [report/get_report...
Keywords:
Status: CLOSED DUPLICATE of bug 1276129
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.5.0
Assignee: Brian McLaughlin
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-09 20:20 UTC by Nandini Chandra
Modified: 2015-11-16 15:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-16 15:11:48 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nandini Chandra 2015-11-09 20:20:29 UTC
Description of problem:
------------------------
The UI blows up with this error while accessing saved reports.

Error text:
undefined method `x_get_child_nodes' for TreeBuilder:Class [report/get_report]

Snippet from production.log:
[----] F, [2015-11-09T14:55:10.215621 #2969:1245990] FATAL -- : Error caught: [NoMethodError] undefined method `x_get_child_nodes' for TreeBuilder:Class
/var/www/miq/vmdb/app/controllers/application_controller/explorer.rb:220:in `tree_add_child_nodes'
/var/www/miq/vmdb/app/controllers/report_controller.rb:680:in `open_parent_nodes'
/var/www/miq/vmdb/app/controllers/report_controller.rb:713:in `replace_right_cell'
/var/www/miq/vmdb/app/controllers/report_controller.rb:279:in `get_report'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/base.rb:198:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rendering.rb:10:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:117:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:117:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:505:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:505:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/callbacks.rb:19:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rescue.rb:29:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications.rb:164:in `block in instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications.rb:164:in `instrument'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/abstract_controller/base.rb:137:in `process'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionview/lib/action_view/rendering.rb:30:in `process'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal.rb:196:in `dispatch'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_controller/metal.rb:237:in `block in action'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:76:in `call'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
/opt/rh/cfme-gemset/bundler/gems/rails-a37d0e57571f/actionpack/lib/action_dispatch/routing/route_set.rb:45:in `serve'



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


How reproducible:
-----------------
Always


Steps to Reproduce:
-------------------
1.Navigate to Cloud Intelligence->Reports.Click the 'Saved Reports' accordion.
2.Click any of the Saved reports on the right.


Actual results:
---------------


Expected results:
-----------------


Additional info:
----------------

Comment 2 Nandini Chandra 2015-11-09 20:22:22 UTC
This issue doesn't happen if any of the reports is clicked under the Saved Reports accordion,but happens if the reports are clicked on the right.

Comment 4 Brian McLaughlin 2015-11-12 15:55:15 UTC
I cannot reproduce it on master either.  Nandini, did you encounter this on an appliance that I can access?

Comment 6 Brian McLaughlin 2015-11-16 15:11:48 UTC

*** This bug has been marked as a duplicate of bug 1276129 ***


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