-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57721/
-----------------------------------------------------------
Review request for Ambari, Andrii Babiichuk, Alexandr Antonenko, Oleg
Nechiporenko, and Richard Zang.
Bugs: AMBARI-20484
https://issues.apache.org/jira/browse/AMBARI-20484
Repository: ambari
Description
-------
Steps to reproduce:
1.Open Alerts / Actions / Manage Notifications
2.Click + buttion and save a new alert target with any custom properties like
(a1,b1) and (a2,b2)
3.Click + buttion again,at the bottom of popup, you will still find the custom
properties which belong to the last alert target.
Solution:
We should reset custom proepertis before creating a new Alert Target.
Diffs
-----
ambari-web/app/controllers/main/alerts/manage_alert_notifications_controller.js
f470f08
ambari-web/test/controllers/main/alerts/manage_alert_notifications_controller_test.js
15b4da3
Diff: https://reviews.apache.org/r/57721/diff/1/
Testing
-------
mvn test
20580 passing (36s)
153 pending
Thanks,
yao lei