Project

General

Profile

Actions

Bug #12203

closed

Error when editing hosts

Added by Alejandro Falcon about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I get this error when editing hosts in either foreman 1.9 foreman-xen 0.1.4 or foreman 1.10 foreman-xen 0.2.0

Trace:
TypeError
can't convert String into Integer
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_xen-0.1.3/app/helpers/xen_compute_helper.rb:56:in `[]'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_xen-0.1.3/app/helpers/xen_compute_helper.rb:56:in `hosts_controller_compute_attribute_map'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_xen-0.1.3/app/helpers/xen_compute_helper.rb:4:in `compute_attribute_map'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_xen-0.1.3/app/views/compute_resources_vms/form/xenserver/_base.html.erb:2:in `_b235499ae0f6c21fd4c7d435d20fb6c0'

Actions

Also available in: Atom PDF