Bug 1328225 - Default Filters for Services/Workloads controlled by Cloud/Instances
Summary: Default Filters for Services/Workloads controlled by Cloud/Instances
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.6.0
Assignee: Harpreet Kataria
QA Contact: Shveta
URL:
Whiteboard: service:filter
Depends On:
Blocks: 1310121 1331014
TreeView+ depends on / blocked
 
Reported: 2016-04-18 18:53 UTC by Krain Arnold
Modified: 2016-06-29 15:50 UTC (History)
7 users (show)

Fixed In Version: 5.6.0.5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1331014 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:50:59 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Krain Arnold 2016-04-18 18:53:01 UTC
Description of problem:
Under Configuration/My Settings/Global Filters you should be able to control the visibility of filters per page. If you check or uncheck filters under Services/Workloads/VM's and Instances, it does nothing (at least on the page it's supposed to do something on.)

However, you can control the visibility on the Services page, since the options under Cloud/Instances/Instances control both the filters they are supposed to, and mysteriously also the filters on Services/Workloads/VM's and Instances. 



How reproducible: 100%


Steps to Reproduce:
1. Navigate to the Default Filters page
2. Select or unselect a filter under Services/Workloads/VM's and Instances
3. Look at the Services/Workloads/VM's and Instances accordion to see the results of your clickery.

Actual results:
naught. 

Expected results:
the change you made in the configuration page is reflected in some way.

Additional info:
A "workaround" is to make changes to filter visibility under Cloud/Instances/Instances, which controls both Cloud/Instances/Instances and Services/Workloads/VM's and Instances.

Comment 3 Harpreet Kataria 2016-04-26 20:35:44 UTC
https://github.com/ManageIQ/manageiq/pull/8270

Comment 4 CFME Bot 2016-04-26 23:15:50 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/2e727280a9d2e697263fdcef5c4b0a3a213515de

commit 2e727280a9d2e697263fdcef5c4b0a3a213515de
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Apr 26 16:31:04 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Apr 26 16:31:04 2016 -0400

    Fixed db for filters in Workloads explorer.
    
    Fixed value of db to be used for filter trees in Workloads explorer to match with db value in miq_searches.yml
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1328225

 app/presenters/tree_builder_templates_images_filter.rb | 2 +-
 app/presenters/tree_builder_vms_instances_filter.rb    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 5 Shveta 2016-05-13 17:59:51 UTC
Fixed.
Verified in  5.6.0.6-beta2.5.20160511140943_ff75fb2

Comment 7 CFME Bot 2016-06-13 18:39:08 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=580a6c1cf47ce62352254b5d40296533eaf07c16

commit 580a6c1cf47ce62352254b5d40296533eaf07c16
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Apr 26 16:31:04 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Apr 27 17:36:57 2016 -0400

    Fixed db for filters in Workloads explorer.
    
    Fixed value of db to be used for filter trees in Workloads explorer to match with db value in miq_searches.yml
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1328225
    https://bugzilla.redhat.com/show_bug.cgi?id=1331014
    (cherry picked from commit 2e72728)

 app/presenters/tree_builder_templates_images_filter.rb | 2 +-
 app/presenters/tree_builder_vms_instances_filter.rb    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 8 CFME Bot 2016-06-13 18:40:03 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4ef20940455f6ba57714c6bf72812a7bc72c7153

commit 4ef20940455f6ba57714c6bf72812a7bc72c7153
Merge: 9252b6d 580a6c1
Author:     Dan Clarizio <dclarizi>
AuthorDate: Mon Jun 13 13:29:51 2016 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Mon Jun 13 13:29:51 2016 -0400

    Merge branch '55z_pr_8270' into '5.5.z'
    
    Fixed db for filters in Workloads explorer.
    
    Fixed value of db to be used for filter trees in Workloads explorer to match with db value in miq_searches.yml
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1328225
    https://bugzilla.redhat.com/show_bug.cgi?id=1331014
    (cherry picked from commit 2e72728)
    
    @dclarizi please review, clean cherry-pick from https://github.com/ManageIQ/manageiq/pull/8270
    
    See merge request !915

 app/presenters/tree_builder_templates_images_filter.rb | 2 +-
 app/presenters/tree_builder_vms_instances_filter.rb    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 10 errata-xmlrpc 2016-06-29 15:50:59 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/RHBA-2016:1348


Note You need to log in before you can comment on or make changes to this bug.