Browse Source

AMBARI-13499 UI ranger-env is not send to validation when hdfs ranger plugin enabled. (ababiichuk)

aBabiichuk 9 years ago
parent
commit
28106d3a60

+ 1 - 1
ambari-web/app/mappers/configs/stack_config_properties_mapper.js

@@ -79,7 +79,7 @@ App.stackConfigPropertiesMapper = App.QuickDataMapper.create({
               }
               }
             });
             });
           }
           }
-          if (Em.get(config, 'config.StackConfigurations.property_depends_on.length') > 0) {
+          if (Em.get(config, 'StackConfigurations.property_depends_on.length') > 0) {
             config.StackConfigurations.property_depends_on.forEach(function(dep) {
             config.StackConfigurations.property_depends_on.forEach(function(dep) {
               var service = App.StackService.find(config.StackConfigurations.service_name);
               var service = App.StackService.find(config.StackConfigurations.service_name);
               var dependentService = App.config.getServiceByConfigType(dep.type);
               var dependentService = App.config.getServiceByConfigType(dep.type);