'This host has errata that are applicable, but not installable' message incorrectly appears
The message in $Subject can appear incorrectly because it's based on the host's stored errata counts, which are not updated immediately.
One way to reproduce is
1. new host details > Errata > select all > Apply
2. Stay on that screen until the job completes
Expected: You see the 'All errata up-to-date' screen with the green check
Actual: You see 'This host has errata that are applicable, but not installable.' After refreshing the page, the 'All errata up-to-date' screen appears.
1. maybe have a link to recalculate errata from that screen?
2. make sure recalculating errata updates the content facet's stored errata counts