Explorar el Código

AMBARI-2428. Global properties retrieved from server and absent on ui metadata doesn't allow saving configurations.

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1494714 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly hace 12 años
padre
commit
d4e928b61b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      ambari-web/app/utils/config.js

+ 2 - 0
ambari-web/app/utils/config.js

@@ -185,6 +185,8 @@ App.config = Em.Object.create({
         if (_tag.siteName === 'global') {
           if (configsPropertyDef) {
             this.handleSpecialProperties(serviceConfigObj);
+          } else {
+            serviceConfigObj.isVisible = false;  // if the global property is not defined on ui metadata config_properties.js then it shouldn't be a part of errorCount
           }
           serviceConfigObj.id = 'puppet var';
           serviceConfigObj.displayName = configsPropertyDef ? configsPropertyDef.displayName : null;