You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sangeeta Ravindran (JIRA)" <ji...@apache.org> on 2016/06/29 18:13:17 UTC

[jira] [Updated] (AMBARI-16785) Improve error message for view URL name and short URL validation

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

Sangeeta Ravindran updated AMBARI-16785:
----------------------------------------
    Description: 
1. Click on View URLs and click on Create New URL.
2. When a URL name that is  2 characters long is entered, on Save an error message is displayed "Minimum length is 2 characters." although 2 characters were specified. The error goes away if more than 2 characters are specified.
3. When a URL name that is  21 characters long is entered, on Save an error message is displayed "Maximum length is 25 characters." although less than 25 characters were specified. The error goes away if 20 or lesser number of characters are specified.
4. When a short URL that is 2 characters long is entered, on Save an error message is displayed "Minimum length is 2 characters." although 2 characters were specified. The error goes away if more than 2 characters are specified.


  was:
1.Click on View URLs and click on create new URL.
2. Enter a URL name that is less than 3 characters or greater than 20 characters.
3. Enter a short URL that is less than 3 characters or greater than 25 characters.
4. Click on Save. The validation error message "Too short" is displayed if the name/URL is too short and  error message "Too long" is displayed if the name/URL is too long. You have to figure out through trial and error what the limits are.
This message should be improved.






> Improve error message for view URL name and short URL validation
> ----------------------------------------------------------------
>
>                 Key: AMBARI-16785
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16785
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-admin
>    Affects Versions: trunk, 2.4.0
>            Reporter: Sangeeta Ravindran
>            Assignee: Sangeeta Ravindran
>            Priority: Minor
>         Attachments: EditURLValidation_withfix.jpg, LongValidation_withfix.jpg, ShortValidation_withfix.jpg, TooLongURLname.jpg, TooShortURLname.jpg
>
>
> 1. Click on View URLs and click on Create New URL.
> 2. When a URL name that is  2 characters long is entered, on Save an error message is displayed "Minimum length is 2 characters." although 2 characters were specified. The error goes away if more than 2 characters are specified.
> 3. When a URL name that is  21 characters long is entered, on Save an error message is displayed "Maximum length is 25 characters." although less than 25 characters were specified. The error goes away if 20 or lesser number of characters are specified.
> 4. When a short URL that is 2 characters long is entered, on Save an error message is displayed "Minimum length is 2 characters." although 2 characters were specified. The error goes away if more than 2 characters are specified.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)