You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2017/09/15 10:21:57 UTC

ambari git commit: AMBARI-21959. [Intermittent] Clicking Next from Customize Services -> Misc tab does not load the Review page while installation (akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk c2c0bc0f9 -> b46cc4f85


AMBARI-21959. [Intermittent] Clicking Next from Customize Services -> Misc tab does not load the Review page while installation (akovalenko)


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

Branch: refs/heads/trunk
Commit: b46cc4f858e5c6fa400ea8587c0c3aee44a52887
Parents: c2c0bc0
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Thu Sep 14 16:42:17 2017 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Fri Sep 15 13:14:32 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/controls_view.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b46cc4f8/ambari-web/app/views/common/controls_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/controls_view.js b/ambari-web/app/views/common/controls_view.js
index 4e926ba..530b60a 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -258,9 +258,9 @@ App.ServiceConfigTextFieldUserGroupWithID = Ember.View.extend(App.ServiceConfigP
   templateName: require('templates/wizard/controls_service_config_usergroup_with_id'),
 
   isUIDGIDVisible: function () {
-    var overrideUidDisabled = this.get('parentView').serviceConfigs.findProperty('name', 'override_uid').value === 'false';
+    var overrideUid = this.get('parentView').serviceConfigs.findProperty('name', 'override_uid');
     //don't display the ugid field if there is no uid/gid for this property or override_uid is unchecked
-    if (Em.isNone(this.get('serviceConfig.ugid')) || overrideUidDisabled) {
+    if (Em.isNone(this.get('serviceConfig.ugid')) || overrideUid && overrideUid.value === 'false') {
       return false;
     }