Bug 1195630 - undefined method domain_selected() when selecting Host group domain/subnet
Summary: undefined method domain_selected() when selecting Host group domain/subnet
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: Unspecified
Assignee: Tomer Brisker
QA Contact: Og Maciel
URL: http://projects.theforeman.org/issues...
Depends On:
TreeView+ depends on / blocked
Reported: 2015-02-24 08:30 UTC by Tomer Brisker
Modified: 2017-02-23 20:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-08-12 05:27:12 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9461 0 None None None 2016-04-22 15:43:58 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Tomer Brisker 2015-02-24 08:30:24 UTC
On the host group edit page, select Network, then a Domain and Subnet.  On the browser console you'll get:

    Uncaught ReferenceError: subnet_selected is not defined

It looks like the host group form still uses the common/_subnet partial, which calls subnet_selected(), but this was removed in #7456 and the host edit form now uses something different.  Maybe just remove the onchange event from this select?

Comment 1 Tomer Brisker 2015-02-24 08:30:26 UTC
Created from redmine issue http://projects.theforeman.org/issues/9461

Comment 2 Bryan Kearney 2015-02-24 09:06:25 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9461 has been closed
Applied in changeset commit:3345d139a40ed461114455acf2f2f26facaa5d98.

Comment 6 Og Maciel 2015-03-06 23:27:18 UTC
Could not reproduce it on Satellite-6.1.0-RHEL-6-20150303.0

Comment 7 Bryan Kearney 2015-08-11 13:22:03 UTC
This bug is slated to be released with Satellite 6.1.

Comment 8 errata-xmlrpc 2015-08-12 05:27:12 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.


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