Browse Source

AMBARI-1943. Properties that do not map to any global property are not being sent to server. (jaimin)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1468283 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly 12 years ago
parent
commit
9d893201c7

+ 3 - 0
CHANGES.txt

@@ -739,6 +739,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1943. Properties that do not map to any global property are not being
+ sent to server. (jaimin)
+
  AMBARI-1937. Ambari-web installer wizard doesn't work in test mode. (jaimin)
 
  AMBARI-1927. In background operations popup, requests with same context

+ 1 - 1
ambari-web/app/controllers/main/service/info/configs.js

@@ -860,7 +860,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend({
     var express = expression.match(/<(.*?)>/g);
     var value = expression;
     if (express == null) {
-      return expression;
+      return { value : expression, overrides: []};      // if site property do not map any global property then return the value
     }
     var overrideHostToValue = {};
     express.forEach(function (_express) {

+ 1 - 1
ambari-web/app/controllers/wizard/step8_controller.js

@@ -236,7 +236,7 @@ App.WizardStep8Controller = Em.Controller.extend({
     var express = expression.match(/<(.*?)>/g);
     var value = expression;
     if (express == null) {
-      return expression;
+      return { value : expression, overrides: []};      // if site property do not map any global property then return the value
     }
     var overrideHostToValue = {};
     express.forEach(function (_express) {