Bug 1413119

Summary: Removing actions from VM Compliance Check event removes the event from the compliance policy
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: dclarizi, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: control
Fixed In Version: 5.7.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1395965 Environment:
Last Closed: 2017-02-27 19:22:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1395965    
Bug Blocks:    

Comment 2 CFME Bot 2017-01-13 17:00:54 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/6f16b752b25c7eb15ff43230327f127f646a7c19

commit 6f16b752b25c7eb15ff43230327f127f646a7c19
Author:     Dan Clarizio <dclarizi>
AuthorDate: Tue Jan 10 10:07:10 2017 -0800
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jan 13 11:57:11 2017 -0500

    Merge pull request #112 from h-kataria/policy_event_action_fix
    
    Policy Event must have at least one action assigned to it
    (cherry picked from commit 3d34785eff8ce66ef2ca7304fcffd8794d7dc6cf)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1413119

 app/controllers/miq_policy_controller/events.rb    |  6 +++
 .../miq_policy_controller/events_spec.rb           | 61 ++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 spec/controllers/miq_policy_controller/events_spec.rb

Comment 3 Dmitry Misharov 2017-01-25 08:45:15 UTC
Fixed and verified in 5.7.1.0.20170124142149_8a5f4d5.

Comment 5 errata-xmlrpc 2017-02-27 19:22:37 UTC
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://rhn.redhat.com/errata/RHSA-2017-0320.html