CA-243964: Don't allow upload of .xsupdate files to >= 7.1 servers

This commit is contained in:
Stephen Turner 2017-02-17 16:56:44 +00:00
parent f414407f40
commit 74c567ef1d

View File

@ -247,6 +247,11 @@ namespace XenAdmin.Wizards.PatchingWizard
{ {
case UpdateType.NewRetail: case UpdateType.NewRetail:
case UpdateType.Existing: case UpdateType.Existing:
if (Helpers.ElyOrGreater(host))
{
row.Enabled = false;
row.Cells[3].ToolTipText = Messages.PATCHINGWIZARD_SELECTSERVERPAGE_PATCH_NOT_APPLICABLE;
}
disableNotApplicableHosts(row, applicableHosts, host); disableNotApplicableHosts(row, applicableHosts, host);
break; break;
case UpdateType.ISO: case UpdateType.ISO: