Project

General

Profile

Actions

Bug #10412

closed

On clicking 'Device_identifier info_box on add_interface form raises error: Operation FAILED: undefined method `fetch' for nil:NilClass

Added by Marek Hulán over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1218504
Description of problem:
when you open add_interface modal window and click on info box, it doesn't expand. Also firebug raises:

"NetworkError: 500 Internal Server Error - https://dhcp201-172.englab.pnq.redhat.com/interfaces/new"

production.log: ===============

2015-05-05 11:54:48 [I] Processing by InterfacesController#new as JS
2015-05-05 11:54:48 [W] Operation FAILED: undefined method `fetch' for nil:NilClass
2015-05-05 11:54:48 [I] Rendered common/500.html.erb (4.8ms)
2015-05-05 11:54:48 [I] Completed 500 Internal Server Error in 22ms (Views: 5.5ms | ActiveRecord: 2.1ms)
2015-05-05 11:55:02 [I] Processing by InterfacesController#new as JS
2015-05-05 11:55:02 [W] Operation FAILED: undefined method `fetch' for nil:NilClass
2015-05-05 11:55:02 [I] Rendered common/500.html.erb (4.7ms)
2015-05-05 11:55:02 [I] Completed 500 Internal Server Error in 22ms (Views: 5.4ms | ActiveRecord: 2.1ms)

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

sat6.1 GA snap2(Satellite-6.1.0-RHEL-7-20150429.2)

How reproducible:
always

Steps to Reproduce:
1. New_host --> add_interface --Device_identifier info_box/tool_tip
2.
3.

Actual results:
Operation FAILED: undefined method `fetch' for nil:NilClass in production.log
Couldn't open Device_identifier info_box on clicking it

Expected results:
on click, Device_identifier info_box should be expanded and no error thrown in logs

Additional info:

Actions #1

Updated by Marek Hulán over 9 years ago

  • Category set to Web Interface
  • Status changed from New to Assigned
Actions #2

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2361 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal over 9 years ago

  • Translation missing: en.field_release set to 50
Actions #4

Updated by Marek Hulán over 9 years ago

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

Also available in: Atom PDF