Bug 1246140 - Foreman UI - provider filtering is also being applied to configuration profiles within providers
Summary: Foreman UI - provider filtering is also being applied to configuration profil...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.5.0
Assignee: Aparna Karve
QA Contact: Kyrylo Zvyagintsev
URL:
Whiteboard:
Depends On:
Blocks: 1265392
TreeView+ depends on / blocked
 
Reported: 2015-07-23 14:19 UTC by Jan Krocil
Modified: 2015-12-08 13:23 UTC (History)
7 users (show)

Fixed In Version: 5.5.0.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1265392 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:23:27 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 RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Jan Krocil 2015-07-23 14:19:08 UTC
Description of problem:
Provider filtering is also being applied to configuration profiles within providers.

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

How reproducible:
Always

Steps to Reproduce:
1. Go to Infra / Configuration Management
2. Click Providers / All Red Hat Satellite Providers (in accordion)
3. Use "manager" as search text
4. Click your provider (since it should be still present even with the filter applied)

Actual results:
You cannot see any configuration profiles except the "Unassigned Profiles Group". The rest is filtered out.

Expected results:
All configuration profiles are available as the filter is unset.

Additional info:
There was a similiar but separate issue present and it has been fixed in 5.4.1.0 (https://bugzilla.redhat.com/show_bug.cgi?id=1228849) - it is different from this one.

Comment 3 Aparna Karve 2015-09-21 22:23:53 UTC
This has been fixed in master.

The Foreman tree will now remember the search string per node type.
Note that there are 3 kinds of nodes -

1. The top node, or the root node, that shows all Foreman Providers
2. The Providers node that shows the Configuration Profiles for the selected provider
3. The Configuration Profiles node that shows the Configured Systems for the selected Configuration Profile.

Some testing guidelines for the new search support -

1. Try a search string for the root node, then select a different node and revisit the root node. The earlier search string should still apply.
2. Select a Provider Node, try a search on this node. Go to another
provider, the same Provider Node search string should apply here as well. Then click on a Configuration Profile node, and the search should clear.
3. Likewise, try the above steps for a Configuration Profile node

So generally speaking, the Foreman tree now supports 3 searches for the 3 node types.

Comment 4 CFME Bot 2015-09-24 01:00:59 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/c6de9273d9dd38f3efb0105610c53ed0911b2789

commit c6de9273d9dd38f3efb0105610c53ed0911b2789
Author:     Aparna Karve <akarve>
AuthorDate: Mon Sep 14 15:49:29 2015 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Mon Sep 21 14:23:00 2015 -0700

    Maintain 3 search strings for root, provider and config_profile nodes
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1246140

 app/controllers/provider_foreman_controller.rb     | 33 +++++++++++-
 .../provider_foreman_controller_spec.rb            | 60 +++++++++++++++++++++-
 2 files changed, 90 insertions(+), 3 deletions(-)

Comment 7 errata-xmlrpc 2015-12-08 13:23:27 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-2015:2551


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