RM-5012 - fix custom identifier for non electronic records too

This commit is contained in:
Ana Bozianu
2017-05-17 13:34:57 +03:00
parent eebecbb349
commit 18b58d9d4c

View File

@@ -1241,10 +1241,6 @@ public class RecordServiceImpl extends BaseBehaviourBean
// remove the owner
ownableService.setOwner(document, OwnableService.NO_OWNER);
if (TYPE_NON_ELECTRONIC_DOCUMENT.equals(nodeService.getType(document)))
{
generateRecordIdentifier(nodeService, identifierService, document);
}
return null;
}
});