Bug #11683
closedSpinner in puppet class parameters spinning indefinitely on hostgroup creation
Description
When creating a new hostgroup, a spinner in puppet class table under 'Parameters' tab appears and spins indefinitely.
To reproduce:
1) Configure > Hostgroups > New Hostgroup
2) select arbitrary Lifecycle Environment
3) select arbitrary Puppet Environment
4) go to 'Parameters' tab
5) spinner is spinning indefinitely as a result of failed call to the server
Root cause is that hostgroup id is expected in params (which naturally does not exists since hostgroup has not been created yet): https://github.com/theforeman/foreman/blob/develop/app/controllers/hostgroups_controller.rb#L93
And then in js function handling the call: https://github.com/theforeman/foreman/blob/develop/app/assets/javascripts/host_edit.js#L170-L199
Files
Updated by Ondřej Pražák over 9 years ago
- Related to Bug #11658: In host/hostgroup form, removing puppetclasses in 'Puppet classes' tab does not trigger call to server added
Updated by Ondřej Pražák over 9 years ago
- Related to Bug #11465: In host/hostgroup parameters form, tables that are empty should display helpful text added
Updated by Dominic Cleal over 9 years ago
- Category changed from Web Interface to Host groups
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2677 added
- Pull request deleted (
)
Updated by Ondřej Pražák over 9 years ago
- Related to Bug #11713: Deface override breaks dropdown in hosts form added
Updated by Ondřej Pražák over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ae7d8d5ffd9c4b02f8be1b528efc2de474a6600e.
Updated by Dominic Cleal over 9 years ago
- Assignee set to Ondřej Pražák
- Translation missing: en.field_release set to 63
Updated by Marek Hulán over 9 years ago
- Related to Bug #11761: Cloning of hostgroup redirects to host creation added