Bug 1500420

Summary: policy profile doesn't get selected in Policy Profiles when policy profile is clicked in one of timelines events
Product: Red Hat CloudForms Management Engine Reporter: Ievgen Zapolskyi <izapolsk>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Ievgen Zapolskyi <izapolsk>
Severity: low Docs Contact:
Priority: medium    
Version: 5.8.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0Flags: izapolsk: automate_bug-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:timeline:trivial
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1520525 1523773 (view as bug list) Environment:
Last Closed: 2018-06-21 21:10:20 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: 1520525, 1523773    

Description Ievgen Zapolskyi 2017-10-10 14:34:00 UTC
Description of problem:
Policy events in timelines have Assigned Profile field. CFME opens Control->Explorer->Policy Profiles accordion, when assigned profile is clicked there.
However, it doesn't select clicked profile in Policy Profiles accordion.

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

How reproducible:
100%

Steps to Reproduce:
1. Create Policy Profile, assign it to f.e. vm and generate policy event
2. Open Timelines and setup it to display that policy event
3. Click that event in timelines in order to display its details
4. Click Assigned Profile link in event details

Actual results:
Control->Explorer->Policy Profiles accordion is displayed. appropriate profile isn't selected.

Expected results:
clicked Policy Profile should be selected

Comment 3 CFME Bot 2017-12-04 07:48:43 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/e229d9fc38bb6754e10154b01f18773114cf45b5

commit e229d9fc38bb6754e10154b01f18773114cf45b5
Author:     Dávid Halász <dhalasz>
AuthorDate: Fri Dec 1 13:10:59 2017 +0100
Commit:     Dávid Halász <dhalasz>
CommitDate: Fri Dec 1 13:12:03 2017 +0100

    Generate the policy profile permalink on the timelines correctly
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1500420

 app/controllers/miq_policy_controller.rb       |  2 +-
 lib/report_formatter/timeline_message.rb       |  2 +-
 spec/controllers/miq_policy_controller_spec.rb |  2 +-
 spec/lib/report_formater/timeline_spec.rb      | 13 +++++++++++++
 4 files changed, 16 insertions(+), 3 deletions(-)

Comment 6 Ievgen Zapolskyi 2018-06-21 20:57:02 UTC
VERIFIED in 5.10.0.1