Project

General

Profile

Actions

Bug #9461

closed

undefined method domain_selected() when selecting Host group domain/subnet

Added by Dominic Cleal over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 2 (0 open2 closed)

Related to Foreman - Refactor #7456: Extract primary interface from hostClosedGreg Sutcliffe09/16/2014Actions
Related to Foreman - Bug #9444: Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tabClosedTomer Brisker02/18/2015Actions
Actions #1

Updated by Dominic Cleal over 9 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
  • 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.

Actions #2

Updated by Dominic Cleal over 9 years ago

  • Related to Refactor #7456: Extract primary interface from host added
Actions #3

Updated by Tomer Brisker over 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomer Brisker
Actions #4

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2187 added
  • Pull request deleted ()
Actions #5

Updated by Tomer Brisker over 9 years ago

  • Related to Bug #9444: Firebug raises: "NetworkError: 404 Not Found" on selecting the 'Domain' from "New_Host_group --> Network" tab added
Actions #6

Updated by Anonymous about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Tomer Brisker about 9 years ago

  • Bugzilla link set to 1195630
Actions

Also available in: Atom PDF