mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-5012 - fix set explicit identifier on record and ftp upload
This commit is contained in:
@@ -486,10 +486,6 @@ public class RecordServiceImpl extends BaseBehaviourBean
|
||||
}
|
||||
}
|
||||
|
||||
// create and file the content as a record
|
||||
file(nodeRef);
|
||||
// recalculate disposition schedule for the record when linking it
|
||||
dispositionService.recalculateNextDispositionStep(nodeRef);
|
||||
}
|
||||
}
|
||||
catch (RecordLinkRuntimeException e)
|
||||
|
@@ -56,6 +56,11 @@ public class RecordUtils
|
||||
{
|
||||
mandatory("nodeService", nodeService);
|
||||
mandatory("nodeRef", nodeRef);
|
||||
|
||||
if(nodeService.hasAspect(nodeRef, ContentModel.ASPECT_NO_CONTENT))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// get the record id
|
||||
String recordId = (String) nodeService.getProperty(nodeRef, PROP_IDENTIFIER);
|
||||
|
Reference in New Issue
Block a user