Bug 1392770

Summary: Can't create an alert
Product: Red Hat CloudForms Management Engine Reporter: Dmitry Misharov <dmisharo>
Component: UI - OPSAssignee: Jozef Zigmund <jzigmund>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, dmisharo, hkataria, jhardy, jkandasa, mpovolny, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: All   
OS: All   
Whiteboard: ui:alert
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1405200 (view as bug list) Environment:
Last Closed: 2017-06-12 16:30:40 UTC Type: Bug
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:    
Bug Blocks: 1405200    

Description Dmitry Misharov 2016-11-08 08:32:06 UTC
Description of problem:
It's impossible to create an alert immediately after deleting another one.

Version-Release number of selected component (if applicable):
5.7.0.9-beta2.1.20161101182054_eb0afaa 

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Control->Explorer.
2. Expand Alerts accordion.
3. Create an alert.
4. Delete the alert.
5. Try to create another one.

Actual results:
Nothing happened. Creation screen is not opened.

Expected results:
Creation screen is opened.

Comment 5 Harpreet Kataria 2016-12-02 22:01:01 UTC
*** Bug 1398184 has been marked as a duplicate of this bug. ***

Comment 6 CFME Bot 2016-12-06 17:16:21 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/5e62119db2abde14400aca1592528efd42bdc3f7

commit 5e62119db2abde14400aca1592528efd42bdc3f7
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Wed Nov 23 14:17:50 2016 +0100
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Mon Dec 5 18:40:02 2016 +0100

    Fix Alert creation after delete the other one
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1392770

 app/controllers/miq_policy_controller/alerts.rb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comment 8 Dmitry Misharov 2017-03-03 15:21:07 UTC
Verified in 5.8.0.3.20170301174324_1e2e0c4, an alert can be created.