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:
Tuna Aksoy
2014-06-04 16:52:02 +00:00
parent 40fdcfbefd
commit 3fb06cdccb

View File

@@ -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);
}
} }
} }