Bug #11473


Not able to set domain in interfaces initially

Added by Ryan Dyer about 8 years ago. Updated about 5 years ago.

Host creation
Target version:
Fixed in Releases:
Found in Releases:


I am seeing a behavior with 1.9.0 that I believe is a bug.
Two puppet environments defined. (dev and factory)
Single domain defined. (
Multiple subnets defined all belonging to the domain above.

Create a new host, select one of the puppet environments. Go to Interfaces and select edit. Attempt to set the Domain. There is no drop down. Cancel the edit interfaces dialog screen. Re-Edit and the drop down for the domain will work just fine. Also if you do not select a puppet environment initially, you can go to the edit dialog and select a domain. The issue seems to be related to selecting a puppet environment and then attempting to edit the interface. A quick cancel and re-edit resolves the issue.

I have tried this under chrome and IE with the same results

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #10641: Ability to search VmWare networksClosedShlomi Zadok05/28/2015Actions
Actions #1

Updated by Dominic Cleal about 8 years ago

Actions #2

Updated by Dominic Cleal about 8 years ago

  • translation missing: en.field_release set to 72
Actions #3

Updated by Marek Hulán about 8 years ago

I reproduced the issue, it seems related to select2, web console prints following

Uncaught TypeError: Cannot read property 'hasClass' of null

when I click on domain select box. It fails after selection of any environment even if domain is already set, you go back to first tab, select an environment and get back to interfaces form. It seems that only environment selection breaks the select2 js, if you change deploy on or other field that also redraw the form, domain selection works again.

Actions #4

Updated by Dominic Cleal about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal
Actions #5

Updated by The Foreman Bot about 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request added
  • Pull request deleted ()
Actions #6

Updated by Dominic Cleal about 8 years ago

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

Also available in: Atom PDF