mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.0 to HEAD
5625: AR-1439 zero length files have content git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1408,6 +1408,10 @@ public class ContentDiskDriver extends AlfrescoDiskDriver implements DiskInterfa
|
||||
|
||||
NetworkFile netFile = ContentNetworkFile.createFile(transactionService, nodeService, contentService, cifsHelper, nodeRef, params);
|
||||
|
||||
// Truncate the file so that the content stream is created
|
||||
|
||||
netFile.truncateFile( 0L);
|
||||
|
||||
// Generate a file id for the file
|
||||
|
||||
if ( netFile != null)
|
||||
|
Reference in New Issue
Block a user