Bug 1389790

Summary: Cannot add or copy alerts
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ControlAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: bascar, cpelland, dajohnso, dclarizi, jhardy, jwatts, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.3   
Hardware: x86_64   
OS: Linux   
Whiteboard: control:alert
Fixed In Version: 5.6.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1379854 Environment:
Last Closed: 2016-11-30 19:57:39 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: 1379854    
Bug Blocks:    

Comment 2 CFME Bot 2016-11-03 20:11:31 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/40f82b792b2ff30269fb47f3d2a7ee1ad5e2868f

commit 40f82b792b2ff30269fb47f3d2a7ee1ad5e2868f
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Oct 18 17:32:44 2016 +0200
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Nov 3 16:08:56 2016 -0400

    Merge pull request #11718 from lfu/event_no_set_type_1379854
    
    Fix the issue that user can't add alerts.
    (cherry picked from commit 8b43521a41cf3a6fe9832badf9a2e78b4cbb8430)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1389790

 app/controllers/miq_policy_controller/alerts.rb |  3 +-
 app/models/miq_event_definition.rb              |  8 +++--
 spec/models/miq_event_definition_spec.rb        | 44 +++++++++++++++++++++++++
 3 files changed, 50 insertions(+), 5 deletions(-)

Comment 3 Dmitry Misharov 2016-11-10 08:05:15 UTC
Verified in 5.6.3.0.20161108115816_66df924. Alerts are created successfully.

Comment 5 errata-xmlrpc 2016-11-30 19:57:39 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-2016-2839.html