Bug 1281861 - Automate UI Error: NoMethodError in MiqAeTools#resolve
Summary: Automate UI Error: NoMethodError in MiqAeTools#resolve
Keywords:
Status: CLOSED DUPLICATE of bug 1281860
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.5.0
Assignee: Dan Clarizio
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-13 16:03 UTC by mkanoor
Modified: 2015-11-13 18:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-13 18:50:34 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description mkanoor 2015-11-13 16:03:23 UTC
Description of problem:
When you click on Automate -> Simulation we get a stack trace


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


How reproducible:
100%

Steps to Reproduce:
1. Open the CFME Web UI
2. Select Automation -> Simulation
3.

Actual results:
NoMethodError in MiqAeTools#resolve

undefined method `[]' for nil:NilClass
   %i(containers images instances providers vandt

     images_filter instances_filter templates_filter templates_images_filter containers_filter

     vms_filter vms_instances_filter).include?(x_tree[:type])

  end


  def show_advanced_search?



Trace of template inclusion: app/views/layouts/_footer.html.haml, app/views/layouts/application.html.haml

Rails.root: /Users/madhukanoor/devsrc/manageiq

Application Trace | Framework Trace | Full Trace
app/helpers/application_helper.rb:1290:in `tree_with_advanced_search?'
app/helpers/application_helper.rb:1111:in `show_adv_search?'
app/views/layouts/_adv_search.html.haml:1:in `_app_views_layouts__adv_search_html_haml__424126363523498490_70300482127420'
/Users/madhukanoor/.gem/ruby/2.2.2/bundler/gems/rails-a37d0e57571f/actionview/lib/action_view/template.rb:145:in `block in render'
/Users/madhukanoor/.gem/ruby/2.2.2/bundler/gems/rails-a37d0e57571f/activesupport/lib/active_support/notifications.rb:166:in `instrument’

Expected results:
We should be able to see the Simulation Screen

Additional info:

Comment 2 Dan Clarizio 2015-11-13 18:50:34 UTC

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


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