Bug 1717108
| Summary: | Filter & select option of Web UI fails logic and cached info of previous search is used in next filter results. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Hradayesh Shukla <hshukla> |
| Component: | WebUI | Assignee: | satellite6-bugs <satellite6-bugs> |
| WebUI sub component: | Foreman | QA Contact: | vijsingh |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | high | CC: | asharvit, bkearney, briasmit, mhulan, satellite6-bugs, sghai, sgraessl, vijsingh, walden |
| Version: | 6.5.0 | Keywords: | Triaged |
| Target Milestone: | 6.6.0 | ||
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-22 19:52:07 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
Hradayesh Shukla
2019-06-04 17:24:29 UTC
*** Bug 1717202 has been marked as a duplicate of this bug. *** Below is the information I provided in bug 1717202, which was a duplicate of this bug. Note that this appears to be a regression from 6.4 to 6.5. In Satellite 6.5, if I go to Hosts -> All Hosts, and select all hosts (in my example, 3 hosts), and then filter for a specific host name, it says "3 of 1 selected". If I unselect the specific hostname, it says "2 of 1 selected", and if I perform an action, like schedule remote job, it uses the hosts I had selected before I filtered for the specific host name. This was fixed in Satellite 6.4 under https://bugzilla.redhat.com/show_bug.cgi?id=1589083 and I confirmed that Satellite 6.4.3 works as expected (previous selection is cleared when you filter). Version-Release number of selected component (if applicable): satellite-6.5.0-11.el7sat.noarch How reproducible: Every time Steps to Reproduce: 1. Go to Hosts -> All Hosts 2. Make a selection of hosts (or select all) 3. Filter for a specific hostname Actual results: The previously selected hosts are still selected even though they are not visible, and it says something like "2 of 1 selected". Expected results: The same behavior as Satellite 6.4 (when I filter for a host, the previously selected hosts are unselected) ON_QA Verified @Satellite 6.6.0 snap 19.0 Steps: Test1) 1. Go to Hosts -> All Hosts 2. Made a selection of hosts (or select all) 3. Filtered for a specific hostname Test2) 1. To Satellite Web UI -> Hosts -> All Hosts -> Using the "Filter", filtered by environment = production. Selected the 2 or 3 hosts using checkbox. 2. Now cleared the current filter & then used another filter to narrow down search to os = RedHat -> Selected the hosts and then perform an operation like Change Location. Observation: Test1 => Only the current filtered hosts showed in the filtered host list and selected too(The previously selected hosts do not show under selected) Test2 => The hosts which were result from previous filter were not included in the current filtered host list on which operation would be performed. 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-2019:3172 |