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

Oleg Nechiporenko updated AMBARI-19287:
---------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Adding custom property should trim white spaces in the prefix and suffix of 
> the key names
> -----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19287
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19287
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.5.0
>            Reporter: Jaimin Jetly
>            Assignee: Jaimin Jetly
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19287.patch, AMBARI-19297_branch-2.5.patch
>
>
> *STR:*
> # Add a custom property by keeping trailing whitespace in the property name
> *Expected behavior:* white spaces at the end and similar white space in the 
> beginning of the property name should be trimmed and the property should be 
> added and shown in the custom section
> *Actual behavior:* Validation error is shown 
> users that copy paste property name from some document to the custom property 
> addition dialog often have trailing white spaces and see a validation error 
> that leads to confusion.
> Note: Scope of this work is for both single property addition and bulk 
> addition of all properties but it is limited to only property name. No logic 
> related to property value needs to be changed as part of this task 



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

Reply via email to