AMBARI-21892. Unable to proceed to Choose services step (akovalenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8de9b06d Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8de9b06d Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8de9b06d Branch: refs/heads/feature-branch-AMBARI-21307 Commit: 8de9b06d93765f81487f5dc27f2b175bf475b0cb Parents: 680f114 Author: Aleksandr Kovalenko <akovale...@hortonworks.com> Authored: Wed Sep 6 17:25:14 2017 +0300 Committer: Aleksandr Kovalenko <akovale...@hortonworks.com> Committed: Wed Sep 6 17:26:32 2017 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/installer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8de9b06d/ambari-web/app/controllers/installer.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/installer.js b/ambari-web/app/controllers/installer.js index b17cc1f..ea07b92 100644 --- a/ambari-web/app/controllers/installer.js +++ b/ambari-web/app/controllers/installer.js @@ -289,7 +289,7 @@ App.InstallerController = App.WizardController.extend(App.Persist, { var isStacksExistInDb = stacks && stacks.length; if (isStacksExistInDb) { stacks.forEach(function (_stack) { - var stack = data.items.findProperty('VersionDefinition.repository_version', _stack.repository_version); + var stack = data.items.findProperty('VersionDefinition.id', _stack.id); if (stack) { stack.VersionDefinition.is_selected = _stack.is_selected; }