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 1191855 - firebug raises "TypeError: t is undefined" on selecting subnet from "Hostgroup --> New Hostgroup --> Network"
Summary: firebug raises "TypeError: t is undefined" on selecting subnet from "Hostgrou...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Ohad Levy
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-12 07:07 UTC by Sachin Ghai
Modified: 2019-09-25 21:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 08:47:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Firebug raises "TypeError: t is undefined" on selecting subnet from dropdown. (51.39 KB, image/png)
2015-02-12 07:07 UTC, Sachin Ghai
no flags Details
Chrome console error (123.64 KB, image/png)
2015-05-21 18:45 UTC, jcallaha
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1500 0 normal SHIPPED_LIVE Red Hat Satellite 6.2 Base Libraries 2016-07-27 12:24:38 UTC

Description Sachin Ghai 2015-02-12 07:07:20 UTC
Created attachment 990751 [details]
Firebug raises "TypeError: t is undefined" on selecting subnet from dropdown.

Description of problem:
firebug raises "TypeError: t is undefined" on selecting subnet from "Hostgroup --> New Hostgroup --> Network

TypeError: t is undefined
	

...bnet_id"),t=e.val(),n=e.data("subnets");return t==""?!0:n[t].ipam}$(document).on...

	

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150210.0
Sat6.1.0 beta snap2

How reproducible:
always

Steps to Reproduce:
1. Go to "configure" --> Host Group --> New Host Group --> Network
2. select subnet from dropdown


Actual results:
Firebug raises "TypeError: t is undefined" on selecting subnet from dropdown.
	

Expected results:
no error should be raised on selecting subnet dropdown

Additional info:

Comment 2 Bryan Kearney 2015-02-18 21:10:04 UTC
Created redmine issue http://projects.theforeman.org/issues/9443 from this bug

Comment 3 Bryan Kearney 2015-02-19 14:03:57 UTC
Dominic says in the upstream bug that this is actually fixed by http://projects.theforeman.org/issues/7456 which will be delivered in 1.8. Since this is a medium priority, I am moving this to ON_QA for 6.2 to be verified there.

Comment 4 Steve Loranz 2015-03-11 22:13:53 UTC
Upstream bug assigned to ohadlevy

Comment 7 jcallaha 2015-05-21 18:44:36 UTC
Failed QA

attaching screenshot of error

Uncaught TypeError: Cannot read property 'undefined' of undefined
selectedSubnetHasIPAM @ host_edit-f28aad5e3f4a480dcd142fd790e49243.js:1subnet_
selected @ host_edit-f28aad5e3f4a480dcd142fd790e49243.js:1onchange @ new:1

Comment 8 jcallaha 2015-05-21 18:45:40 UTC
Created attachment 1028363 [details]
Chrome console error

Comment 9 Marek Hulan 2015-05-22 06:00:40 UTC
Please test when 6.2 is available as suggested in previous comments. Moving back to ON_QA.

Comment 10 jcallaha 2015-10-28 18:05:32 UTC
Verified in upstream. No errors found during selection.

 HOSTNAME: rhsm-qe-1.rhq.lab.eng.bos.redhat.com
       OS: redhat
  RELEASE: Red Hat Enterprise Linux Server release 7.1 (Maipo)
  FOREMAN: 1.11.0-develop
     RUBY: ruby 2.0.0p598 (2014-11-13) [x86_64-linux]
   PUPPET: 3.8.3

Comment 13 errata-xmlrpc 2016-07-27 08:47:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1500


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