Actions
Bug #13322
closedImpossible to select OS and media on discovered hosts
Difficulty:
Triaged:
Bugzilla link:
Description
config/routes.rb matches hosts#architecture_selected and other routes as GET. These routes are POST in Foreman core, so when javascript contacts 'GET architecture_selected_discovered_hosts', Foreman 404s.
The solution is simple, just actually match the requests as POST. I am guessing this worked before Rails 4 because it used the method of the matched route.
I'd say this one is important as currently provisioning a discovered system isn't possible unless you select a hostgroup with the OS/media/etc.
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman_discovery/pull/241 added
Updated by Daniel Lobato Garcia about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|4c9ed4725aecf3a35c0395ffb374ad8b57719787.
Updated by Lukas Zapletal over 7 years ago
- Related to Bug #16750: *_selected methods expect params[:host] to exist added
Actions