[ https://issues.apache.org/jira/browse/AMBARI-16737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sangeeta Ravindran updated AMBARI-16737: ---------------------------------------- Status: Patch Available (was: In Progress) > 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 > 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)