mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-1871 : Merged revision(s) 94472 from /DEV/BUGFIXING/HEAD-2014_12_09
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -240,10 +240,16 @@ public class TransferServiceImpl extends ServiceBaseImpl
|
||||
List<ChildAssociationRef> assocs = nodeService.getChildAssocs(nodeRef, ASSOC_TRANSFERRED, RegexQNamePattern.MATCH_ALL);
|
||||
for (ChildAssociationRef assoc : assocs)
|
||||
{
|
||||
if(freezeService.isFrozen(assoc.getChildRef()))
|
||||
{
|
||||
throw new AlfrescoRuntimeException("Could not complete a transfer that contains held folders");
|
||||
}
|
||||
|
||||
if(freezeService.hasFrozenChildren(assoc.getChildRef()))
|
||||
{
|
||||
throw new AlfrescoRuntimeException("Could not complete a transfer that contain frozen children.");
|
||||
throw new AlfrescoRuntimeException("Cound not complete a transfer that contains folders with held children");
|
||||
}
|
||||
|
||||
markComplete(assoc.getChildRef(), accessionIndicator, transferLocation);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user