mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixed AR-1525: Version root doesn't have the required aspect.
The patch execution evaluation is done again if the patch was not executed - even if it was considered for execution before. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -201,7 +201,8 @@ public class PatchServiceImpl implements PatchService
|
|||||||
{
|
{
|
||||||
// get the patch from the DAO
|
// get the patch from the DAO
|
||||||
AppliedPatch appliedPatch = patchDaoService.getAppliedPatch(patch.getId());
|
AppliedPatch appliedPatch = patchDaoService.getAppliedPatch(patch.getId());
|
||||||
if (appliedPatch != null && appliedPatch.getSucceeded())
|
// We bypass the patch if it was executed successfully
|
||||||
|
if (appliedPatch != null && appliedPatch.getWasExecuted() && appliedPatch.getSucceeded())
|
||||||
{
|
{
|
||||||
// it has already been applied
|
// it has already been applied
|
||||||
if (logger.isDebugEnabled())
|
if (logger.isDebugEnabled())
|
||||||
|
Reference in New Issue
Block a user