Bug 1398748

Summary: Created filters in datastores are not displayed until the page is refreshed
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: hkataria, hstastna, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:filter
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1414876 (view as bug list) Environment:
Last Closed: 2017-06-12 17:03:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1414876    

Description Matouš Mojžíš 2016-11-25 18:28:17 UTC
Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Go to Compute -> Infrastructure -> Datastores
2. Create a filter
3.

Actual results:
Filter is not displayed until refresh occurs

Expected results:
Filter should be displayed immediately after creation

Additional info:

Comment 4 Hilda Stastna 2016-12-13 14:59:07 UTC
fixed by https://github.com/ManageIQ/manageiq/pull/13140

Comment 9 CFME Bot 2017-01-16 13:47:51 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/952f11c688da8c85a56f306c47d6b3ec07f93596

commit 952f11c688da8c85a56f306c47d6b3ec07f93596
Author:     Hilda Stastna <hstastna>
AuthorDate: Mon Jan 9 13:31:08 2017 +0100
Commit:     Hilda Stastna <hstastna>
CommitDate: Mon Jan 9 13:31:08 2017 +0100

    Make visible My Filters in Datastores
    
    fixing
    https://bugzilla.redhat.com/show_bug.cgi?id=1398748
    https://bugzilla.redhat.com/show_bug.cgi?id=1382768
    
    Make created filters (not global) in Compute -> Infrastructure ->
    -> Datastores visible under My Filters in accordion.

 app/presenters/tree_builder_storage.rb | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Comment 10 CFME Bot 2017-01-16 13:48:02 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/b0f99dfc7b497965d02d0c2daae2535de2e4f8ad

commit b0f99dfc7b497965d02d0c2daae2535de2e4f8ad
Author:     Hilda Stastna <hstastna>
AuthorDate: Mon Jan 9 13:39:33 2017 +0100
Commit:     Hilda Stastna <hstastna>
CommitDate: Mon Jan 9 13:39:33 2017 +0100

    Display new filter in Datastores right after creating it
    
    fixing
    https://bugzilla.redhat.com/show_bug.cgi?id=1398748
    https://bugzilla.redhat.com/show_bug.cgi?id=1382768
    
    Display a new filter (not global) in Compute -> Infrastructure ->
    -> Datastores in My Filters in accordion right after creating it,
    no need to refresh the page to see the new filter there.

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

Comment 13 Matouš Mojžíš 2017-04-10 08:01:05 UTC
Verified in 5.8.0.9. Newly created filters are displayed immediately.