[
https://issues.apache.org/jira/browse/AMBARI-19287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15785315#comment-15785315
]
Hadoop QA commented on AMBARI-19287:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12845049/AMBARI-19287.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 2 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-web.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/9850//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/9850//console
This message is automatically generated.
> 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
>
>
> *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)