Updated Branches: refs/heads/trunk 46e034e5e -> fcc0f0585
AMBARI-3820. Security wizard: Reloading wizard fails due to missing user credentials. (jaimin and yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/fcc0f058 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/fcc0f058 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/fcc0f058 Branch: refs/heads/trunk Commit: fcc0f0585575b77f3d4b5a3a4ab3e50c3d3f5858 Parents: 46e034e Author: Yusaku Sako <yus...@hortonworks.com> Authored: Wed Nov 20 17:45:25 2013 -0800 Committer: Yusaku Sako <yus...@hortonworks.com> Committed: Wed Nov 20 17:49:06 2013 -0800 ---------------------------------------------------------------------- ambari-web/app/routes/main.js | 14 -------------- 1 file changed, 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/fcc0f058/ambari-web/app/routes/main.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/routes/main.js b/ambari-web/app/routes/main.js index 42dd63a..1101d92 100644 --- a/ambari-web/app/routes/main.js +++ b/ambari-web/app/routes/main.js @@ -660,20 +660,6 @@ module.exports = Em.Route.extend({ enter: function (router) { router.set('mainAdminController.category', "security"); var controller = router.get('mainAdminSecurityController'); - if (!App.testMode) { - App.clusterStatus.updateFromServer(); - var currentClusterStatus = App.clusterStatus.get('value'); - App.db.data.AddSecurity = currentClusterStatus.localdb; - if (currentClusterStatus.localdb) { - App.db.setSecurityDeployStages(currentClusterStatus.localdb.securityDeployStages); - controller.setAddSecurityWizardStatus(currentClusterStatus.localdb.status); - App.db.setSecureConfigProperties(currentClusterStatus.localdb.secureConfigProperties); - App.db.setWizardCurrentStep('AddSecurity', currentClusterStatus.localdb.currentStep); - App.db.setIsNameNodeHa(currentClusterStatus.localdb.haStatus); - App.db.setDisableSecurityStatus(currentClusterStatus.localdb.disableSecurityStatus); - App.db.setSecureUserInfo(currentClusterStatus.localdb.secureUserInfo); - } - } if (!(controller.getAddSecurityWizardStatus() === 'RUNNING') && !(controller.getDisableSecurityStatus() === 'RUNNING')) { Em.run.next(function () { router.transitionTo('adminSecurity.index');