Bug 1214405

Summary: Foreman UI - configuration manager and configured system search is shared
Product: Red Hat CloudForms Management Engine Reporter: Jan Krocil <jkrocil>
Component: UI - OPSAssignee: Aparna Karve <akarve>
Status: CLOSED ERRATA QA Contact: Kyrylo Zvyagintsev <kzvyahin>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: hkataria, jhardy, kzvyahin, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1228849 (view as bug list) Environment:
Last Closed: 2015-12-08 13:06:08 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:
Bug Depends On:    
Bug Blocks: 1228849    

Description Jan Krocil 2015-04-22 16:12:34 UTC
Description of problem:
The search on both pages is the same one. It shares values.
That means that when you search for a certain configured system and switch to configuration managers you get nothing because they are being filtered out - and vice versa.

Version-Release number of selected component (if applicable):
Upstream - master.20150422113700_9adecd6

How reproducible:
Always

Steps to Reproduce:
1. Setup a foreman provider
2. Apply search on configuration managers page to filter a provider
3. Switch to configured systems

Actual results:
Your configured systems are gone (filtered out).

Expected results:
The systems are still there; the search applies to providers only.

Additional info:
-

Comment 3 CFME Bot 2015-06-05 22:10:54 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f47c5fb80a8d23ec05714896365a92d835db97d8

commit f47c5fb80a8d23ec05714896365a92d835db97d8
Author:     Aparna Karve <akarve>
AuthorDate: Fri Jun 5 09:34:16 2015 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Fri Jun 5 09:34:33 2015 -0700

    Create a hash to maintain separate search strings in the accordions
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1214405

 vmdb/app/controllers/provider_foreman_controller.rb | 7 +++++++
 1 file changed, 7 insertions(+)

Comment 4 Kyrylo Zvyagintsev 2015-10-01 15:18:30 UTC
Verified fixed in version 5.5.0.3
Bug was checked using this case:
1. Create foreman provider
2. Filter porviders using nonexistent provider name
3. Change location to configured systems tab

Actual result:
The systems are still there; the search applies to providers only.

Comment 6 errata-xmlrpc 2015-12-08 13:06:08 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