Bug #9737
In Errata -> Content hosts tab - Check box to filter out content hosts based on Life cycle environment does not work
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1200441
Description of problem:
In Errata -> Content hosts tab - Check box to filter out content hosts based on Life cycle environment does not work
Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150303.0
How reproducible:
Always
Steps to Reproduce:
1. Sync rhel 6Server bits
2. Create three different content views with different filters
3. Register and subscribe three content hosts to the above created three content views
4. Go to Content > Errata tab -> Select an errata (which should say something like Applicable 2, Installable 1 or similar) Only show content hosts where $errata is currently available in the host's Lifecycle Environment.
5. Go to Content Hosts tab
6. See that all three content hosts are displayed (expected behavior)
7. Now Check the checkbox which says
Actual results:
The checkbox filter does not work and all my content hosts are shown irrespective of errata availability in their lifecycle environment
Expected results:
The checkbox filter should work fine and the displayed content hosts should have the corresponding errata available in their lifecycle environment
Additional info:
Very straightforward scenario, not attaching screenshot / foreman-debug
Associated revisions
History
#1
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Target version set to 67
- Pull request https://github.com/Katello/katello/pull/5108 added
- Pull request deleted (
)
#2
Updated by Walden Raines about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|223b6b656645389b55999c05bc18bd2ebadeecbf.
#3
Updated by Eric Helms about 8 years ago
- Legacy Backlogs Release (now unused) set to 23
- Triaged changed from No to Yes
Fixes #9737: fix CH filter for incremental update, BZ 1200441.
There were a couple of issues with the Content Host filtering on
the incremental update content host selection page. Firstly, the
incorrect parameter was being sent and secondly we were returning
all readable systems regardless of the filter. This commit fixes
both issues.
http://projects.theforeman.org/issues/9729
https://bugzilla.redhat.com/show_bug.cgi?id=1200441