Actions
Bug #16750
closed*_selected methods expect params[:host] to exist
Status:
Closed
Priority:
High
Assignee:
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Bugzilla link:
Description
Due to the strong params changes, the methods we override in routes.rb (architecture_selected, os_selected, medium_selected) do not longer work.
The reason is that these *_selected methods expect params[:host] to exist. Other methods like 'taxonomy_scope' also expect params[:host] to exist.
However, 'discovered_hosts/edit' sends params[:discovered_host], which is not understood by the HostController.
The discovery plugin should realize that these params will not be understood by HostController and change them appropriately.
This blocks discovery provisioning without choosing a hostgroup.
Actions