mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84419: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud) 84385: Merged DEV to V4.2-BUG-FIX (4.2.4) 84031 : MNT-12165 : Impossible to replicate documents from server - Changed the way to get the length of content git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -81,7 +81,7 @@ public class ContentDataPart extends PartBase
|
||||
@Override
|
||||
protected long lengthOfData() throws IOException
|
||||
{
|
||||
return data.getSize();
|
||||
return contentService.getRawReader(data.getContentUrl()).getSize();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
Reference in New Issue
Block a user