Bug 1402454

Summary: BootstrapTreeview loses the focus after creating or deleting Container Policies
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: UI - OPSAssignee: Zita Nemeckova <znemecko>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: low Docs Contact:
Priority: medium    
Version: 5.7.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: All   
OS: All   
Whiteboard: control:container:ui
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1424260 (view as bug list) Environment:
Last Closed: 2017-06-12 16:48:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1424260    
Attachments:
Description Flags
Screenshot of the bug none

Description Dmitry Misharov 2016-12-07 15:17:43 UTC
Created attachment 1229090 [details]
Screenshot of the bug

Description of problem:
If you create or delete a policy in Replicator, Pod, Container Node or Container Image branches BootstrapTreeview will lose the focus. No one element will be selected.

Version-Release number of selected component (if applicable):
5.7.0.14-rc4.20161206165848_b5cb87f 

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Control->Explorer.
2. Create or delete a policy in Replicator, Pod, Container Node or Container Image branches. It doesn't matter Control or Compliance.

Actual results:
No one element in the tree will be selected.

Expected results:
In case of creation the created policy should be selected, if the policy was deleted appropriate root should be selected, e.g. "Replicator Control Policies"

Additional information:
Probably connected with https://bugzilla.redhat.com/show_bug.cgi?id=1359909

Comment 2 Zita Nemeckova 2017-02-13 11:54:23 UTC
https://github.com/ManageIQ/manageiq/pull/12760

Comment 4 Dmitry Misharov 2017-03-06 12:22:18 UTC
Verified in 5.8.0.3.20170301174324_1e2e0c4 . Focus behaviors in BootstrapTreeView as expected.