You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2015/11/02 13:19:48 UTC

ambari git commit: AMBARI-13675 Toggling and Saving "Enable User Sync" on Ranger User Info page generates error count on Advanced tab. (atkach)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 2ffd510e2 -> a5c8dfc58


AMBARI-13675 Toggling and Saving "Enable User Sync" on Ranger User Info page generates error count on Advanced tab. (atkach)


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

Branch: refs/heads/branch-2.1
Commit: a5c8dfc58808ae5016c44834601387f221aae1c2
Parents: 2ffd510
Author: Andrii Tkach <at...@hortonworks.com>
Authored: Mon Nov 2 14:19:38 2015 +0200
Committer: Andrii Tkach <at...@hortonworks.com>
Committed: Mon Nov 2 14:19:38 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/utils/config.js       | 3 ++-
 ambari-web/test/utils/config_test.js | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a5c8dfc5/ambari-web/app/utils/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js
index d917669..6e34789 100644
--- a/ambari-web/app/utils/config.js
+++ b/ambari-web/app/utils/config.js
@@ -335,7 +335,8 @@ App.config = Em.Object.create({
       dependentConfigPattern: null,
       options: null,
       radioName: null,
-      belongsToService: []
+      belongsToService: [],
+      widget: null
     };
     return Object.keys(coreObject|| {}).length ?
       $.extend(tpl, coreObject) : tpl;

http://git-wip-us.apache.org/repos/asf/ambari/blob/a5c8dfc5/ambari-web/test/utils/config_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/utils/config_test.js b/ambari-web/test/utils/config_test.js
index bd0e9af..ee24aed 100644
--- a/ambari-web/test/utils/config_test.js
+++ b/ambari-web/test/utils/config_test.js
@@ -1046,7 +1046,8 @@ describe('App.config', function () {
       dependentConfigPattern: null,
       options: null,
       radioName: null,
-      belongsToService: []
+      belongsToService: [],
+      widget: null
     };
     it('create default config object', function () {
       expect(App.config.createDefaultConfig('pName', 'pServiceName', 'pFileName', true)).to.eql(res);