You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Oleg Nechiporenko (JIRA)" <ji...@apache.org> on 2016/12/29 12:58:58 UTC
[jira] [Comment Edited] (AMBARI-19287) Adding custom property
should trim white spaces in the prefix and suffix of the key names
[ https://issues.apache.org/jira/browse/AMBARI-19287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15785275#comment-15785275 ]
Oleg Nechiporenko edited comment on AMBARI-19287 at 12/29/16 12:58 PM:
-----------------------------------------------------------------------
+1 by [~atkach] on the review board
was (Author: onechiporenko):
+1 by @atkach on the review board
> 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)