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:
Alan Davis
2014-09-18 17:35:26 +00:00
parent bcfffd4079
commit 06346cccaa

View File

@@ -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)