Bug 1447631

Summary: Errata apply filter by dropdown environment doesn't work
Product: Red Hat Satellite Reporter: Anand Agrawal <aagrawal>
Component: Errata ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Walden Raines <walden>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.9CC: bbuckingham, ehelms, jcallaha, walden
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
URL: http://projects.theforeman.org/issues/20246
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.4.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anand Agrawal 2017-05-03 11:15:51 UTC
Description of problem:

The dropdown filter by environment doesn't work. I want to apply errata only to certain environment. It shows all environments. The workaround I found is to use the "search" box and type lifecycle_environment = Test

Version-Release number of selected component (if applicable):
6.2.9

How reproducible:
Always


Steps to Reproduce:
1. Go to Content > Errata
2. Select one or more errata
3. Click apply
4. A list of host will be listed from different environments.
5. Click on the dropdown "filter by environment" and select only one environment.
6. Still the same list of hosts is displayed from all environments.


Actual results:
List does not change by dropdown change

Expected results:
Host list with only filtered/selected Lifecycle should be displayed

Additional info:

Comment 2 Walden Raines 2017-07-12 19:33:35 UTC
Created redmine issue http://projects.theforeman.org/issues/20293 from this bug

Comment 3 Walden Raines 2017-07-12 20:12:33 UTC
PR: https://github.com/Katello/katello/pull/6868

Comment 4 Satellite Program 2017-07-25 16:06:27 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20246 has been resolved.

Comment 5 Satellite Program 2017-08-03 22:07:41 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20246 has been resolved.

Comment 6 Walden Raines 2017-08-10 14:44:29 UTC
I am now seeing this include the lifecycle environment in the search query when an environment is selected.  The selected environment is not cleared in the UI when the 'x' button is clicked but for that see bug #1383729.

Verified on sat 6.3.0 snap 10.

Comment 8 Satellite Program 2018-02-21 16:54:17 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336