Repository: ambari
Updated Branches:
  refs/heads/trunk 145a80294 -> 9ff0a7852


AMBARI-21094 - Customize services shows inconsistent config-groups after 
clicking on Back (Amruta Borkar via sangeetar)


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

Branch: refs/heads/trunk
Commit: 9ff0a785235ce9c70ca265d3d02edce2dea7f6ea
Parents: 145a802
Author: Sangeeta Ravindran <sangee...@apache.org>
Authored: Fri May 26 11:37:47 2017 -0700
Committer: Sangeeta Ravindran <sangee...@apache.org>
Committed: Fri May 26 11:37:47 2017 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/wizard/step7_controller.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9ff0a785/ambari-web/app/controllers/wizard/step7_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step7_controller.js 
b/ambari-web/app/controllers/wizard/step7_controller.js
index 6685c01..9a897d0 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -307,6 +307,9 @@ App.WizardStep7Controller = 
Em.Controller.extend(App.ServerValidatorMixin, App.E
       isRecommendedLoaded: false,
       initialRecommendations: []
     });
+    App.ServiceConfigGroup.find().filterProperty('isDefault', 
false).forEach(function (record) {
+      App.configGroupsMapper.deleteRecord(record);
+    });
     this.get('stepConfigs').clear();
     this.set('filter', '');
     this.get('filterColumns').setEach('selected', false);

Reply via email to