Bug 1402411

Summary: selection doesn't move along with added/copied Condition in Control->Explorer->Policies treeview
Product: Red Hat CloudForms Management Engine Reporter: Ievgen Zapolskyi <izapolsk>
Component: UI - OPSAssignee: Zita Nemeckova <znemecko>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: low Docs Contact:
Priority: medium    
Version: 5.7.0CC: dmisharo, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: control:policy
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1424267 1512665 (view as bug list) Environment:
Last Closed: 2018-03-06 14:46:22 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1424267, 1512665    
Attachments:
Description Flags
screenshot none

Description Ievgen Zapolskyi 2016-12-07 13:41:48 UTC
Created attachment 1229059 [details]
screenshot

Description of problem:
Policy remains selected when I add new condition or copy existing one in Control->Explorer->Policies. As a result I see Configuration menu and Condition view though some policy is still selected in treeview control (see screenshot).

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

How reproducible:
100%

Steps to Reproduce:
1. Go to Control->Explorer
2. Add a new Control Policy
3. Click Configuration button for it and "Create a new Condition assigned to this Policy"
4. Fill all necessary fields and click Add
5. Click Configuration button 

Actual results:
The created Condition view appears. 
Configuration menu shows menu items for Condition.
The policy is still selected in Policies treeview.

Expected results:
correct element should be selected in treeview.

Comment 2 Zita Nemeckova 2017-02-13 12:01:41 UTC
https://github.com/ManageIQ/manageiq/pull/12760

Comment 4 Dmitry Misharov 2017-03-06 12:29:29 UTC
Tested in 5.8.0.3.20170301174324_1e2e0c4, the BZ is still there. The focus stays on the policy after condition creating.

Comment 7 Dmitry Misharov 2017-11-14 08:00:37 UTC
Verified in 5.9.0.8.20171109215303_ed87902.