AMBARI-21258 Install Wizard: JS error when repository uses VDF. (atkach)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/58d77239 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/58d77239 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/58d77239 Branch: refs/heads/branch-feature-AMBARI-20859 Commit: 58d77239b70d2295da23d476e5010bb60d4f1c88 Parents: f99e776 Author: Andrii Tkach <atk...@apache.org> Authored: Thu Jun 15 16:00:42 2017 +0300 Committer: Andrii Tkach <atk...@apache.org> Committed: Thu Jun 15 16:00:42 2017 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/installer.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/58d77239/ambari-web/app/controllers/installer.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/installer.js b/ambari-web/app/controllers/installer.js index db9623a..9d7fcd8 100644 --- a/ambari-web/app/controllers/installer.js +++ b/ambari-web/app/controllers/installer.js @@ -618,7 +618,13 @@ App.InstallerController = App.WizardController.extend(App.Persist, { var stackInfo = {}; stackInfo.dfd = dataInfo.dfd; stackInfo.response = response; - this.getSupportedOSList(data, stackInfo); + this.incrementProperty('loadStacksRequestsCounter'); + this.getSupportedOSListSuccessCallback(data, null, { + stackName: data.VersionDefinition.stack_name, + stackVersion: data.VersionDefinition.stack_version, + versionDefinition: data, + stackInfo: stackInfo + }); } },