Actions
Bug #35683
closedContent host status refreshed even for hosts without content
Difficulty:
Triaged:
Yes
Description
It hits an error here because `errata` is nil: https://github.com/Katello/katello/blob/ee84716c4c94b28b0bb1302e63e6e81f3615c710/app/models/katello/errata_status.rb#L61
But the real question is why does `refresh_content_host_status` not first check to see if the host has a content facet? https://github.com/Katello/katello/blob/ee84716c4c94b28b0bb1302e63e6e81f3615c710/app/models/katello/concerns/host_managed_extensions.rb#L133
Actions