فهرست منبع

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

Jun Aoki 9 سال پیش
والد
کامیت
063e79f686
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ambari-web/app/models/configs/objects/service_config_property.js

+ 1 - 1
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;
             }
           }