You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2015/10/23 16:47:46 UTC

[32/50] [abbrv] ambari git commit: AMBARI-13158: error message is not accurate when a directory field value has a space (jaoki)

AMBARI-13158: error message is not accurate when a directory field value has a space (jaoki)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/063e79f6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/063e79f6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/063e79f6

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 063e79f686f849ca6c93f7a0c63ebfb02e6b005f
Parents: 0294343
Author: Jun Aoki <ja...@apache.org>
Authored: Thu Oct 22 16:30:52 2015 -0700
Committer: Jun Aoki <ja...@apache.org>
Committed: Thu Oct 22 16:31:08 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/models/configs/objects/service_config_property.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/063e79f6/ambari-web/app/models/configs/objects/service_config_property.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/configs/objects/service_config_property.js b/ambari-web/app/models/configs/objects/service_config_property.js
index d58731c..2c7aa87 100644
--- a/ambari-web/app/models/configs/objects/service_config_property.js
+++ b/ambari-web/app/models/configs/objects/service_config_property.js
@@ -356,7 +356,7 @@ App.ServiceConfigProperty = Em.Object.extend({
             }
           } else {
             if (!validator.isValidDir(value)) {
-              this.set('errorMessage', 'Must be a slash or drive at the start');
+              this.set('errorMessage', 'Must be a slash or drive at the start, and must not contain white spaces');
               isError = true;
             }
           }