ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rle...@apache.org
Subject ambari git commit: AMBARI-11949. Kerberos Wizard: Moving between steps 2 and 3 back/forward cause API error (rlevas)
Date Wed, 17 Jun 2015 18:02:46 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 b5194c4ce -> 9a616d881


AMBARI-11949. Kerberos Wizard: Moving between steps 2 and 3 back/forward cause API error (rlevas)


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

Branch: refs/heads/branch-2.1
Commit: 9a616d88104c6108db15c3cff87cf5c00d793413
Parents: b5194c4
Author: Robert Levas <rlevas@hortonworks.com>
Authored: Wed Jun 17 14:02:38 2015 -0400
Committer: Robert Levas <rlevas@hortonworks.com>
Committed: Wed Jun 17 14:02:38 2015 -0400

----------------------------------------------------------------------
 .../app/controllers/main/admin/kerberos/step2_controller.js     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9a616d88/ambari-web/app/controllers/main/admin/kerberos/step2_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/kerberos/step2_controller.js b/ambari-web/app/controllers/main/admin/kerberos/step2_controller.js
index a34dc30..77ab68f 100644
--- a/ambari-web/app/controllers/main/admin/kerberos/step2_controller.js
+++ b/ambari-web/app/controllers/main/admin/kerberos/step2_controller.js
@@ -132,10 +132,15 @@ App.KerberosWizardStep2Controller = App.WizardStep7Controller.extend({
     this.set('isSubmitDisabled', true);
     var self = this;
     this.deleteKerberosService().always(function (data) {
+      self.removeLocalKerberosComponentData();
       self.createKerberosResources();
     });
   },
 
+  removeLocalKerberosComponentData: function () {
+    App.serviceComponents.removeObject('KERBEROS_CLIENT');
+  },
+
   createKerberosResources: function () {
     var self = this;
     this.createKerberosService().done(function () {


Mime
View raw message