Bug #21077
Unable to apply errata to host collection
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1487402
Description of problem:
Using the 'Errata Installation' action from the Host Collection details page does not present applicable errata even though hosts in the collection have errata which are indeed applicable.
Version-Release number of selected component (if applicable): 6.3.0 Snap 13
How reproducible: Always
Steps to Reproduce:
1. Register a client into a content view which has applicable errata which are also applicable to the host.
2. Create a host collection and add the host above to it
3. Navigate to the Details tab for the host collection in (2) and select 'Errata Installation'
Actual results:
The table returns 0 results.
Expected results: The table should contain errata which are applicable to the hosts in the collection.
Additional info:
I discovered this while attempting to verify https://bugzilla.redhat.com/show_bug.cgi?id=1443816
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6970 added
#2
Updated by Walden Raines almost 5 years ago
- Has duplicate Bug #20600: Host collection subscription management only operates on the first 20 hosts in the collection added
#3
Updated by Walden Raines almost 5 years ago
- Target version set to 218
- Difficulty set to easy
#4
Updated by Walden Raines almost 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|fd4282d97032e5eb45aa3ff30fa5df2ecc00ba0d.
#5
Updated by Justin Sherrill almost 5 years ago
- Legacy Backlogs Release (now unused) set to 295
Fixes #21077: include host ids in errata call.
The host ids were not being included in the applicable errata call
when trying to get the errata for the host collection. This commit
fixes the issue.
http://projects.theforeman.org/issues/21077