You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/06/23 23:13:33 UTC
[3/3] ambari git commit: AMBARI-12103. Add Host Wizard: Adding host
with no components fails (alexantonenko)
AMBARI-12103. Add Host Wizard: Adding host with no components fails (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f7caec53
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f7caec53
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f7caec53
Branch: refs/heads/trunk
Commit: f7caec53675bffcde53c7adade517a9fdd4adb0f
Parents: df1fc98
Author: Alex Antonenko <hi...@gmail.com>
Authored: Tue Jun 23 23:31:51 2015 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Jun 24 00:13:25 2015 +0300
----------------------------------------------------------------------
ambari-web/app/controllers/wizard/step9_controller.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/f7caec53/ambari-web/app/controllers/wizard/step9_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/wizard/step9_controller.js b/ambari-web/app/controllers/wizard/step9_controller.js
index b0c9b7b..a58e8b8 100644
--- a/ambari-web/app/controllers/wizard/step9_controller.js
+++ b/ambari-web/app/controllers/wizard/step9_controller.js
@@ -889,7 +889,7 @@ App.WizardStep9Controller = Em.Controller.extend(App.ReloadPopupMixin, {
console.log('TRACE: Entering host info function');
var self = this;
var totalProgress = 0;
- var tasksData = polledData.tasks;
+ var tasksData = polledData.tasks || [];
console.log("The value of tasksData is: ", tasksData);
var requestId = this.get('content.cluster.requestId');
tasksData.setEach('Tasks.request_id', requestId);