Bug 1398748 - Created filters in datastores are not displayed until the page is refreshed
Summary: Created filters in datastores are not displayed until the page is refreshed
Keywords:
Status: CLOSED CURRENTRELEASE
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.8.0
Assignee: Hilda Stastna
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ui:filter
Depends On:
Blocks: 1414876
TreeView+ depends on / blocked
 
Reported: 2016-11-25 18:28 UTC by Matouš Mojžíš
Modified: 2019-08-06 20:05 UTC (History)
6 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1414876 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:03:02 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:


Attachments (Terms of Use)

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.


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