RM-1887: Unfiled record behaves as not unfiled after move

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2015-02-09 22:33:33 +00:00
parent 0f22865d57
commit 69d5c44957
2 changed files with 84 additions and 1 deletions

View File

@@ -236,7 +236,8 @@ public class RecordAspect extends AbstractDisposableItem
{
public Object doWork()
{
if (nodeService.exists(record))
if (nodeService.exists(record) &&
recordService.isFiled(record))
{
// clean record
cleanDisposableItem(nodeService, record);