Bug #9461
undefined method domain_selected() when selecting Host group domain/subnet
Difficulty:
Triaged:
Bugzilla link:
Pull request:
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?
Related issues
Associated revisions
History
#1
Updated by Dominic Cleal over 8 years ago
- Subject changed from undefined method subnet_selected() when selecting Host group subnet to undefined method domain_selected() when selecting Host group domain/subnet
- Legacy Backlogs Release (now unused) 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.
#2
Updated by Dominic Cleal over 8 years ago
- Related to Refactor #7456: Extract primary interface from host added
#3
Updated by Tomer Brisker over 8 years ago
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
#4
Updated by The Foreman Bot over 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2187 added
- Pull request deleted (
)
#5
Updated by Tomer Brisker over 8 years ago
- Related to Bug #9444: Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab added
#6
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 3345d139a40ed461114455acf2f2f26facaa5d98.
#7
Updated by Tomer Brisker over 8 years ago
- Bugzilla link set to 1195630
Fixes #9461 - Update subnets on domain change in hostgroup