Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1218504 - On clicking 'Device_identifier info_box on add_interface form raises error: Operation FAILED: undefined method `fetch' for nil:NilClass
Summary: On clicking 'Device_identifier info_box on add_interface form raises error: ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-05 06:27 UTC by Sachin Ghai
Modified: 2017-02-23 20:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 13:56:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
firebug raises network error 500 ISE (42.65 KB, image/png)
2015-05-05 06:31 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10412 0 None None None 2016-04-22 16:38:40 UTC

Description Sachin Ghai 2015-05-05 06:27:48 UTC
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:

Comment 1 Sachin Ghai 2015-05-05 06:31:01 UTC
Created attachment 1022068 [details]
firebug raises network error 500 ISE

Comment 4 Bryan Kearney 2015-05-06 13:00:54 UTC
Per the triage discussions, this is not a blocker since it is an info box only.

Comment 6 Marek Hulan 2015-05-07 10:51:18 UTC
I was unable to reproduce on Satellite-6.1.0-RHEL-7-20150506.0, if Sachin confirms, this can be closed.

Comment 7 Sachin Ghai 2015-05-07 12:47:58 UTC
@Marek: Issue is reproducible with sanp3. Its reproducible only when new host form is filled-up with some info.

Comment 8 Sachin Ghai 2015-05-07 12:57:29 UTC
Just to be clear.. Its reproducible with: New_host --> add_interface --> select bmc/bond interface --> click Device_identifier.

Comment 9 Marek Hulan 2015-05-07 13:45:12 UTC
Created redmine issue http://projects.theforeman.org/issues/10412 from this bug

Comment 12 Marek Hulan 2015-05-12 07:17:24 UTC
Please note that the error in log is not related and can be ignored.

Comment 14 Sachin Ghai 2015-05-14 13:05:24 UTC
Verified with sat6.1 GA snap4 compose2.

Error message still appears though I can see and expand the info box,

Comment 15 Sachin Ghai 2015-05-14 13:07:05 UTC
Created attachment 1025398 [details]
I can expand infobox

Comment 16 Sachin Ghai 2015-05-14 13:13:15 UTC
Filed bz for error in production.logs:

https://bugzilla.redhat.com/show_bug.cgi?id=1221632

Comment 17 Bryan Kearney 2015-08-11 13:30:51 UTC
This bug is slated to be released with Satellite 6.1.

Comment 18 Bryan Kearney 2015-08-12 13:56:59 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.


Note You need to log in before you can comment on or make changes to this bug.