mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
RM-5012 - fix custom identifier for non electronic records too
This commit is contained in:
@@ -1241,10 +1241,6 @@ public class RecordServiceImpl extends BaseBehaviourBean
|
|||||||
// remove the owner
|
// remove the owner
|
||||||
ownableService.setOwner(document, OwnableService.NO_OWNER);
|
ownableService.setOwner(document, OwnableService.NO_OWNER);
|
||||||
|
|
||||||
if (TYPE_NON_ELECTRONIC_DOCUMENT.equals(nodeService.getType(document)))
|
|
||||||
{
|
|
||||||
generateRecordIdentifier(nodeService, identifierService, document);
|
|
||||||
}
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user