Bug 1266547

Summary: Cannot add e-mails manually in e-mail editing form
Product: Red Hat CloudForms Management Engine Reporter: Milan Falešník <mfalesni>
Component: UI - OPSAssignee: Roman Blanco <rblanco>
Status: CLOSED ERRATA QA Contact: Taras Lehinevych <tlehinev>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: dajohnso, hkataria, jhardy, mpovolny, obarenbo, rlaliber, tlehinev
Target Milestone: GAKeywords: Rebase
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.3 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:33:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
A cut from a screenshot of the form none

Description Milan Falešník 2015-09-25 15:03:21 UTC
Created attachment 1077152 [details]
A cut from a screenshot of the form

Description of problem:
I noticed that when you edit the e-mails for alerts, the manual adding does not work. Also the form looks a bit weird.


Version-Release number of selected component (if applicable):
5.5.0.2 / Chrome 45

How reproducible:
always

Steps to Reproduce:
1. Pick some Alert and open the edit form
2. Check "Send an E-mail"
3. Type an e-mail into the "Add (enter manually)" and press the + button

Actual results:
Nothing happens

Expected results:
The e-mail will be displayed in "To (Click to remove)" field as it does in older releases.

Additional info:
The form looks weird, maybe it will need some more attention to fix everything up.

Comment 2 Milan Falešník 2015-09-25 15:12:03 UTC
*** Bug 1266549 has been marked as a duplicate of this bug. ***

Comment 3 Milan Falešník 2015-09-25 15:13:12 UTC
This also happens when adding users from the dropdown. When you select an item in the dropdown, it appears the action to add the e-mail is not invoked either.

Comment 6 CFME Bot 2015-09-28 22:00:53 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/1460d0e6ca97e9ad2ee5c82717e01e9375e9299a

commit 1460d0e6ca97e9ad2ee5c82717e01e9375e9299a
Author:     Roman Blanco <rblanco>
AuthorDate: Sat Sep 26 19:52:52 2015 +0200
Commit:     Roman Blanco <rblanco>
CommitDate: Sat Sep 26 19:52:52 2015 +0200

    Fixed bug in Alert e-mail editing form
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1266547

 app/views/layouts/_edit_email.html.haml           |   1 +
 app/views/layouts/_edit_to_email.html.haml        | 112 +++++++++++-----------
 app/views/miq_policy/_alert_builtin_exp.html.haml |   2 +-
 3 files changed, 58 insertions(+), 57 deletions(-)

Comment 8 CFME Bot 2015-09-28 22:08:05 UTC
New commit detected on ManageIQ/manageiq-appliance/master:
https://github.com/ManageIQ/manageiq-appliance/commit/1460d0e6ca97e9ad2ee5c82717e01e9375e9299a

commit 1460d0e6ca97e9ad2ee5c82717e01e9375e9299a
Author:     Roman Blanco <rblanco>
AuthorDate: Sat Sep 26 19:52:52 2015 +0200
Commit:     Roman Blanco <rblanco>
CommitDate: Sat Sep 26 19:52:52 2015 +0200

    Fixed bug in Alert e-mail editing form
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1266547

 app/views/layouts/_edit_email.html.haml           |   1 +
 app/views/layouts/_edit_to_email.html.haml        | 112 +++++++++++-----------
 app/views/miq_policy/_alert_builtin_exp.html.haml |   2 +-
 3 files changed, 58 insertions(+), 57 deletions(-)

Comment 9 Taras Lehinevych 2015-10-02 14:58:04 UTC
Verified fixed in version 5.5.0.3

Checked according to the steps of reproducing, added the email and it was displayed in "To (Click to remove)" field. Also check the removing, saving the emails configuration in Alerts. Everything works fine.

Comment 11 errata-xmlrpc 2015-12-08 13:33:14 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://access.redhat.com/errata/RHSA-2015:2551