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.
https://github.com/ManageIQ/manageiq/pull/4348
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.
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(-)
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