Project

General

Profile

Actions

Bug #10267

closed

can't convert String into Integer When clicking edit host

Added by Joshua Gordon about 9 years ago. Updated about 9 years ago.

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

Description

I believe foreman-xen is putting in a value that is not allowed. I believe this because other hosts that do not use xenserver as a compute module work fine.
Any advice on how to resolve this would be appreciated.

Full Trace
TypeError
can't convert String into Integer
app/helpers/lookup_keys_helper.rb:24:in `block (2 levels) in new_child_fields_template'
app/helpers/lookup_keys_helper.rb:21:in `block in new_child_fields_template'
app/helpers/lookup_keys_helper.rb:20:in `new_child_fields_template'
app/views/hosts/_compute.html.erb:5:in `block in _468489494d6a02edef874d56799ed31e'
app/views/hosts/_compute.html.erb:1:in `_468489494d6a02edef874d56799ed31e'
app/views/hosts/_unattended.html.erb:2:in `_8eac1889d01bc4c35cb61938cd71a34c'
app/views/hosts/_form.html.erb:94:in `block (2 levels) in _ac4e2d6bec443dc94b8e8f9be32a90e0'
app/helpers/layout_helper.rb:268:in `form_for'
app/views/hosts/_form.html.erb:8:in `block in _ac4e2d6bec443dc94b8e8f9be32a90e0'
app/models/taxonomy.rb:59:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:148:in `as_location'
app/models/taxonomy.rb:58:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:113:in `as_org'
app/models/taxonomy.rb:57:in `as_taxonomy'
app/views/hosts/_form.html.erb:6:in `_ac4e2d6bec443dc94b8e8f9be32a90e0'
app/views/hosts/edit.html.erb:9:in `_dfc4ac7696dff71af8dc623b96152443'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Actions

Also available in: Atom PDF