Project

General

Profile

Actions

Bug #2603

closed

Error loading VM tab on new host, undefined method `[]' for nil:NilClass

Added by Dominic Cleal almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When creating a new host, select a libvirt compute resource as the first action and the Virtual Machine tab will fail to load:

NoMethodError - undefined method `[]' for nil:NilClass:
  app/views/compute_resources_vms/form/_libvirt.html.erb:30:in `_app_views_compute_resources_vms_form__libvirt_html_erb__1886783418346172016_70035848515480'
  actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'

If you select an EC2 CR first, the compute_attributes params get loaded and then loading the libvirt pane works.

Actions #1

Updated by Dominic Cleal almost 11 years ago

  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Dominic Cleal almost 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF