Bug 1410910
Summary: | When the same action is used twice for a policy, action icons are inconsistent | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Razique Mahroua <rmahroua> | ||||
Component: | UI - OPS | Assignee: | Jozef Zigmund <jzigmund> | ||||
Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.6.0 | CC: | cpelland, dmisharo, hkataria, jhardy, mpovolny, obarenbo, simaishi | ||||
Target Milestone: | GA | Keywords: | ZStream | ||||
Target Release: | 5.8.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | control:ui | ||||||
Fixed In Version: | 5.8.0.8 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1436228 1436230 (view as bug list) | Environment: | |||||
Last Closed: | 2017-05-31 14:32:32 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: | 1436228, 1436230 | ||||||
Attachments: |
|
*** Bug 1412986 has been marked as a duplicate of this bug. *** New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/e8c6260a240a84bb3b7173b4db2ecd0d01eda55e commit e8c6260a240a84bb3b7173b4db2ecd0d01eda55e Author: Jozef Zigmund <jzigmund> AuthorDate: Tue Mar 21 17:20:46 2017 +0100 Commit: Jozef Zigmund <jzigmund> CommitDate: Wed Mar 22 11:26:32 2017 +0100 Fix actions' icons of policy events https://bugzilla.redhat.com/show_bug.cgi?id=1410910 app/presenters/tree_builder_policy.rb | 10 ++++++++++ app/presenters/tree_node/miq_action.rb | 18 +++++++----------- 2 files changed, 17 insertions(+), 11 deletions(-) Verified in 5.8.0.8-alpha1.20170328221054_e6ca7a2. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1367 |
Created attachment 1238090 [details] Shows the same action selected twice Description of problem: When creating a control or compliance policy, the icon for a given action can have two states: - Green check mark when the action has been chosen for Order of 'Actions if ALL Conditions are True' - Red mark when the action has been chosen for 'Order of Actions if ANY Conditions are False' However, if the same action is selected to the two evaluation (i.e. in the two frames), the icon for one of the two states is the wrong one Version-Release number of selected component (if applicable): 5.6.3.3.20161128141841_49d925b How reproducible: Steps to Reproduce: 1. Create a control policy 2. Define an event, such as "VM Power On" 3. Edit the actions for the policy event and choose the same action for the two frames Actual results: The action icon will be the same Expected results: The action icon part of the 'Order of Actions if ALL Conditions are True' should display a green check mark The action icon part of the 'Order of Actions if ANY Conditions are False' should display a red cross. Additional info: