mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge branch 'release/V2.4' into merge-2.5/MergeV24ToV25_a4c106d
Conflicts: rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/action/impl/DestroyAction.java rm-community/rm-community-repo/test/java/org/alfresco/module/org_alfresco_module_rm/test/integration/issue/RM1727Test.java
This commit is contained in:
@@ -181,12 +181,12 @@ public class DestroyAction extends RMDispositionActionExecuterAbstractBase
|
|||||||
recordableVersionService.destroyRecordedVersion(version);
|
recordableVersionService.destroyRecordedVersion(version);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the ghosted aspect
|
|
||||||
getNodeService().addAspect(record, ASPECT_GHOSTED, null);
|
|
||||||
|
|
||||||
// Hide from inplace users to give the impression of destruction
|
// Hide from inplace users to give the impression of destruction
|
||||||
inplaceRecordService.hideRecord(record);
|
inplaceRecordService.hideRecord(record);
|
||||||
|
|
||||||
|
// Add the ghosted aspect
|
||||||
|
getNodeService().addAspect(record, ASPECT_GHOSTED, null);
|
||||||
|
|
||||||
// destroy content
|
// destroy content
|
||||||
contentDestructionComponent.destroyContent(record);
|
contentDestructionComponent.destroyContent(record);
|
||||||
}
|
}
|
||||||
|
@@ -90,7 +90,7 @@ public class RM1727Test extends BaseRMTestCase
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
doTestInTransaction(new Test<Void>()
|
doTestInTransaction(new Test<Void>()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user