Bug #11473
closedNot able to set domain in interfaces initially
Description
I am seeing a behavior with 1.9.0 that I believe is a bug.
Setup:
Two puppet environments defined. (dev and factory)
Single domain defined. (domain.com)
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
Updated by Dominic Cleal over 9 years ago
- Related to Feature #10641: Ability to search VmWare networks added
Updated by Dominic Cleal over 9 years ago
- Translation missing: en.field_release set to 72
Updated by Marek Hulán over 9 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.
Updated by Dominic Cleal over 9 years ago
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
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/2682 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 501853b511d52f078c1d0933afec955b25356e54.