[
https://issues.apache.org/jira/browse/AMBARI-16737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293355#comment-15293355
]
Hudson commented on AMBARI-16737:
---------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #4884 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/4884/])
AMBARI-16737. Add validation for alert name edit (alexantonenko) (hiveww:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=40ccef06b851c45346de4098f4793034b4f65b15])
* ambari-web/app/templates/main/alerts/definition_details.hbs
* ambari-web/test/views/main/alerts/definition_details_view_test.js
* ambari-web/app/styles/alerts.less
* ambari-web/app/views/main/alerts/definition_details_view.js
* ambari-web/app/utils/validator.js
* ambari-web/app/messages.js
> Add validation for alert name edit
> ----------------------------------
>
> Key: AMBARI-16737
> URL: https://issues.apache.org/jira/browse/AMBARI-16737
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: trunk
> Reporter: Sangeeta Ravindran
> Assignee: Sangeeta Ravindran
> Fix For: 2.4.0
>
> Attachments: AMBARI-16737.patch, EditAlertNoValidation.jpg,
> EditAlertValidationWithFix.jpg
>
>
> 1. On the Ambari dashboard, navigate to Alerts. Click on an alert.
> 2. Click on the Edit button and note that there is no validation and you can
> enter characters such as \, < etc.
> 3. Also note that you can enter more than 255 characters. However, if the
> number of characters exceeds 255, an exception is thrown on the server side
> because the database column only allows 255 characters. The UI however does
> not restrict this and you get no error message. The value in the UI gets
> reset to what it was before you added more than 255 characters since the
> update failed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)