mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-1487: Clone - Cannot import exported file plan ACP or ZIP to another Alfresco 4.2.1/RM2.1.1-22 instance
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -119,7 +119,14 @@ public class ExportPost extends StreamACP
|
|||||||
RenditionModel.ASPECT_RENDITIONED,
|
RenditionModel.ASPECT_RENDITIONED,
|
||||||
ContentModel.ASPECT_THUMBNAILED,
|
ContentModel.ASPECT_THUMBNAILED,
|
||||||
RecordsManagementModel.ASPECT_DISPOSITION_LIFECYCLE,
|
RecordsManagementModel.ASPECT_DISPOSITION_LIFECYCLE,
|
||||||
RecordsManagementSearchBehaviour.ASPECT_RM_SEARCH};
|
RecordsManagementSearchBehaviour.ASPECT_RM_SEARCH,
|
||||||
|
RecordsManagementModel.ASPECT_EXTENDED_SECURITY};
|
||||||
|
params.setExcludeAspects(excludedAspects);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// restrict specific aspects from being returned
|
||||||
|
QName[] excludedAspects = new QName[] {RecordsManagementModel.ASPECT_EXTENDED_SECURITY};
|
||||||
params.setExcludeAspects(excludedAspects);
|
params.setExcludeAspects(excludedAspects);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user