Fixed AR-1425: Patches that weren't successfully executed are now re-examined for applicability.

Changed the applicability version numbers of several patches that were merged over from V2.0.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-05-14 16:03:34 +00:00
parent d7a4aed414
commit 652bed012c
2 changed files with 16 additions and 12 deletions

View File

@@ -163,8 +163,12 @@ public class PatchServiceImpl implements PatchService
AppliedPatch appliedPatch = appliedPatchesById.get(id);
if (appliedPatch != null && appliedPatch.getSucceeded())
{
// this has already been done
return true;
if (appliedPatch.getWasExecuted() && appliedPatch.getSucceeded())
{
// It was sucessfully executed
return true;
}
// We give the patch another chance
}
// ensure that dependencies have been done