ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonenko Alexander (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-16737) Add validation for alert name edit
Date Fri, 20 May 2016 11:17:12 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-16737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antonenko Alexander updated AMBARI-16737:
-----------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

committed to trunk and branch 2.4


> 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)

Mime
View raw message