Bug 1567416

Summary: Impossible to select the ALL filter once the user change the default on Physical Infra
Product: Red Hat CloudForms Management Engine Reporter: Saulo Toledo <stoledo>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: ON_QA --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: cpelland, hkataria, lavenel, simaishi
Target Milestone: GAFlags: lavenel: needinfo? (rbrown4)
Target Release: 5.10.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Lenovo Target Upstream Version:
Embargoed:

Description Saulo Toledo 2018-04-13 23:34:25 UTC
Description of problem:
On listing pages in ManageIQ, once the user sets another filter as default, it is not possible to return to the ALL filter.

Steps to Reproduce:
1. Open a physical infra listing page (e.g Compute -> Physical Infrastructure -> Servers);
2. In the "Filters" pane, select a filter other than the "All (Default)". A "Set Default" button will appear below the filter list;
3. Click on the "Set Default" button. The new filter will be the default;
4. Click on the "ALL" filter.

Actual results:
The current default filter will be selected instead of the "ALL" option. The user cannot use the "ALL" filter nor set it as default.

Expected results:
The "ALL" filter should be selected. The user should also have the possibility to set it as default again.

Comment 2 Dave Johnson 2018-04-13 23:44:26 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 5 CFME Bot 2018-05-18 15:42:43 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/679df2c1c22fed8a8e0656f707d052d4c63ae5bd
commit 679df2c1c22fed8a8e0656f707d052d4c63ae5bd
Author:     Hilda Stastna <hstastna>
AuthorDate: Thu Apr 19 06:05:42 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Thu Apr 19 06:05:42 2018 -0400

    Fix selecting ALL filter and changing it to default on Physical Infra

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1567416

    Fix selecting ALL filter and changing it to default on Physical Infra page
    (in Compute -> Physical Infrastructure -> Servers), also on Hosts page.

 app/controllers/application_controller/filter.rb | 1 -
 1 file changed, 1 deletion(-)