Actions
Bug #5258
closedCan't edit a host, suspect its due to an IPMC/BMC interface
Description
Have a working host with 3 NIC's. Two are normal interface, one is a BMC interface (IPMI). When I go to edit the host definition I get a NoMethodError.
This is with Foreman 1.5.0 rc1
NoMethodError undefined method `title' for #<Subnet:0x00000009ea04f8> app/helpers/layout_helper.rb:110:in `block in select_f' app/helpers/layout_helper.rb:157:in `block (3 levels) in field' app/helpers/layout_helper.rb:156:in `block (2 levels) in field' app/helpers/layout_helper.rb:149:in `block in field' app/helpers/layout_helper.rb:148:in `field' app/helpers/layout_helper.rb:108:in `select_f' app/views/hosts/_interfaces.html.erb:13:in `block in _app_views_hosts__interfaces_html_erb___2329083320204774303_78228160' app/views/hosts/_interfaces.html.erb:3:in `_app_views_hosts__interfaces_html_erb___2329083320204774303_78228160' app/views/hosts/_unattended.html.erb:31:in `block (2 levels) in _app_views_hosts__unattended_html_erb__3358788842323718793_70200440300620' app/views/hosts/_unattended.html.erb:30:in `block in _app_views_hosts__unattended_html_erb__3358788842323718793_70200440300620' app/views/hosts/_unattended.html.erb:15:in `_app_views_hosts__unattended_html_erb__3358788842323718793_70200440300620' app/views/hosts/_form.html.erb:92:in `block (2 levels) in _app_views_hosts__form_html_erb__3635596562362264948_83193480' app/helpers/layout_helper.rb:248:in `form_for' app/views/hosts/_form.html.erb:8:in `block in _app_views_hosts__form_html_erb__3635596562362264948_83193480' app/models/taxonomy.rb:48:in `block (2 levels) in as_taxonomy' app/models/concerns/foreman/thread_session.rb:143:in `as_location' app/models/taxonomy.rb:47:in `block in as_taxonomy' app/models/concerns/foreman/thread_session.rb:108:in `as_org' app/models/taxonomy.rb:46:in `as_taxonomy' app/views/hosts/_form.html.erb:6:in `_app_views_hosts__form_html_erb__3635596562362264948_83193480' app/views/hosts/edit.html.erb:9:in `_app_views_hosts_edit_html_erb___3896782749151053234_83134680' app/models/concerns/foreman/thread_session.rb:33:in `clear_thread' lib/middleware/catch_json_parse_errors.rb:9:in `call'
Actions