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: 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    
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): 

How reproducible:

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

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