AMBARI-20278. Install Wizard > Select Services: Ambari warns me that "Ambari 
Infra is not selected" but it is selected (alexantonenko)


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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: a28e0ca13beabde2531cb997f35841e7c2498ad0
Parents: 2572469
Author: Alex Antonenko <hiv...@gmail.com>
Authored: Thu Mar 2 22:21:32 2017 +0200
Committer: Alex Antonenko <hiv...@gmail.com>
Committed: Fri Mar 3 19:40:38 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/a28e0ca1/ambari-web/app/controllers/wizard/step4_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step4_controller.js 
b/ambari-web/app/controllers/wizard/step4_controller.js
index 9e61a7d..02aeff8 100644
--- a/ambari-web/app/controllers/wizard/step4_controller.js
+++ b/ambari-web/app/controllers/wizard/step4_controller.js
@@ -168,6 +168,8 @@ App.WizardStep4Controller = Em.ArrayController.extend({
   validate: function () {
     var result;
     var self = this;
+    this.set('errorStack', []);
+
     // callback function to reset `isAccepted` needs to be called everytime 
when a popup from errorStack is dismissed/proceed by user action
     var callback = function (id) {
       var check = self.get('errorStack').findProperty('id', id);

Reply via email to