Bug 1705139 - Unable to create an alert that has a custom expression
Summary: Unable to create an alert that has a custom expression
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Harpreet Kataria
QA Contact: John Dupuy
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1658670
TreeView+ depends on / blocked
 
Reported: 2019-05-01 15:30 UTC by John Dupuy
Modified: 2019-12-13 15:16 UTC (History)
8 users (show)

Fixed In Version: 5.11.0.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-13 15:16:19 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
alert details (49.45 KB, image/png)
2019-05-01 15:30 UTC, John Dupuy
no flags Details

Description John Dupuy 2019-05-01 15:30:39 UTC
Created attachment 1560876 [details]
alert details

Description of problem:
Unable to create (or save) an alert with a custom expression. 

Version-Release number of selected component (if applicable):
5.11.0.1.20190424210327_58b5dbd, also present in 5.11.0.2

How reproducible:
100%

Steps to Reproduce:
1. Navigate to "Control"->"Explorer"
2. Create a new alert that has any custom expression (see attachment for possible alert details)
3. Click "Add"

Actual results:
A loading screen appears and the alert is not created, you are stuck on the same page. No flash message appears

Expected results:
The alert should be created, the flash message confirming the alert creation should appear.

Additional info:
The same bug happens if you try to edit an alert and put in a custom expression.

Comment 6 CFME Bot 2019-05-02 12:40:53 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/63c15682a579706824be5dc0ced3ad78f2b60d47
commit 63c15682a579706824be5dc0ced3ad78f2b60d47
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed May  1 17:18:10 2019 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed May  1 17:18:10 2019 -0400

    Fixed a typo introduced in e788bd7fac48704d6637c0e5aa7ef71f68ba663a

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1705139

 app/controllers/miq_policy_controller/alerts.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 John Dupuy 2019-05-08 14:48:16 UTC
Verified in CFME 5.11.0.3.20190507174347_a77bd90

Steps of verification:
1. Navigate to "Control"->"Explorer"
2. Create a new alert that has any custom expression (see attachment for possible alert details)
3. Click "Add"
4. Verified that the alert was created


Note You need to log in before you can comment on or make changes to this bug.