Editing a HostGroup fails with "undefined method `each' for nil:NilClass" error
Issue
An attempt to edit a HostGroup fails with error Oops, we're sorry but something went wrong undefined methodname' for nil:NilClass. Subsequentforeman-rake errors:fetch_log request_id=..` command shows the exception from Diagnostic Steps.
Environment
Red Hat Satellite 6.10 (older versions probably also affected)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.