ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [47/50] [abbrv] ambari git commit: AMBARI-19348 - Version number is incorrect when upgrade wizard is opened from Upgrade History (rzang)
Date Thu, 05 Jan 2017 00:05:28 GMT
AMBARI-19348 - Version number is incorrect when upgrade wizard is opened from Upgrade History
(rzang)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: e3eef3ce3594d85378d56715f8d30ae5c19e8874
Parents: 4253a61
Author: Richard Zang <rzang@apache.org>
Authored: Wed Jan 4 13:00:55 2017 -0800
Committer: Richard Zang <rzang@apache.org>
Committed: Wed Jan 4 13:00:55 2017 -0800

----------------------------------------------------------------------
 .../app/views/main/admin/stack_upgrade/upgrade_history_view.js   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e3eef3ce/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js
index 8817308..8df8349 100644
--- a/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js
+++ b/ambari-web/app/views/main/admin/stack_upgrade/upgrade_history_view.js
@@ -290,7 +290,7 @@ App.MainAdminStackUpgradeHistoryView = App.TableView.extend(App.TableServerViewM
   showUpgradeHistoryRecord: function (event) {
     var record = event.context;
     var direction = App.format.normalizeName(record.get('direction'));
-    var fromVersion = record.get('fromVersion');
+    var toVersion = record.get('toVersion');
     var type = this.get('upgradeMethods').findProperty('type', record.get('upgradeType'));
     var displayName = type ? type.get('displayName') : App.format.normalizeName(record.get('upgradeType'));
 
@@ -299,7 +299,7 @@ App.MainAdminStackUpgradeHistoryView = App.TableView.extend(App.TableServerViewM
     App.ModalPopup.show({
       classNames: ['wizard-modal-wrapper'],
       modalDialogClasses: ['modal-xlg'],
-      header: Em.I18n.t('admin.stackVersions.upgradeHistory.record.title').format(displayName,
direction, fromVersion),
+      header: Em.I18n.t('admin.stackVersions.upgradeHistory.record.title').format(displayName,
direction, toVersion),
       bodyClass: App.MainAdminStackUpgradeHistoryDetailsView,
       primary: Em.I18n.t('common.dismiss'),
       secondary: null,


Mime
View raw message