From fdb32cf5798482e0887c883504e4a4f024f16562 Mon Sep 17 00:00:00 2001 From: Gabor Apati-Nagy Date: Mon, 12 Sep 2016 17:07:59 +0100 Subject: [PATCH] CA-220599: Supplemental Pack installed via XenCenter does not get listed in updates box Fixed regression caused by 5555709337d60c9c786d7058fb2f8100982c4b5e. Supplemental packs can now be installed again in automatic mode. Signed-off-by: Gabor Apati-Nagy --- XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs b/XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs index b884b48dd..ef742c9c4 100644 --- a/XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs +++ b/XenAdmin/Wizards/PatchingWizard/PatchingWizard_PatchingPage.cs @@ -179,7 +179,7 @@ namespace XenAdmin.Wizards.PatchingWizard List poolHosts = new List(pool.Connection.Cache.Hosts); Host master = SelectedServers.Find(host => host.IsMaster() && poolHosts.Contains(host)); - if (master != null && poolPatch != null && poolPatch.AppliedOn(master) == DateTime.MaxValue) + if (master != null && (poolPatch == null || poolPatch.AppliedOn(master) == DateTime.MaxValue)) planActions.AddRange(CompileActionList(master, poolPatch)); foreach (Host server in SelectedServers) {