Bug #9461
closed
undefined method domain_selected() when selecting Host group domain/subnet
Added by Dominic Cleal almost 10 years ago.
Updated over 6 years ago.
Description
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?
- Subject changed from undefined method subnet_selected() when selecting Host group subnet to undefined method domain_selected() when selecting Host group domain/subnet
- Translation missing: en.field_release set to 28
Changing this slightly, as a more important problem is when selecting a domain from the host group network dropdown, it tries to call domain_selected() and this isn't present in the JS any more. The list of subnets isn't updated, it remains greyed out.
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2187 added
- Pull request deleted (
)
- Related to Bug #9444: Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Bugzilla link set to 1195630
Also available in: Atom
PDF