mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-1531 (Possible to transfer/accession/destroy NOT cut off folders/records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -99,5 +99,11 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
|
|||||||
|
|
||||||
// Set the return value of the action
|
// Set the return value of the action
|
||||||
action.setParameterValue(ActionExecuter.PARAM_RESULT, transferNodeRef);
|
action.setParameterValue(ActionExecuter.PARAM_RESULT, transferNodeRef);
|
||||||
|
|
||||||
|
// Cut off the disposable item if it's not cut off already
|
||||||
|
if (!dispositionService.isDisposableItemCutoff(dispositionLifeCycleNodeRef))
|
||||||
|
{
|
||||||
|
dispositionService.cutoffDisposableItem(dispositionLifeCycleNodeRef);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user