From 0a94bf98c51f67c309d93be9b72b1dcb0d03131a Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Tue, 25 Jun 2013 14:26:44 +0000 Subject: [PATCH] SP-724, BIS-428: bug fixed: Take file length from file and not from node. SVN: 29459 --- .../openbis/dss/generic/server/AbstractDataSetPackager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/AbstractDataSetPackager.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/AbstractDataSetPackager.java index b1a0a4d0580..c90070b0565 100644 --- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/AbstractDataSetPackager.java +++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/AbstractDataSetPackager.java @@ -147,7 +147,7 @@ public abstract class AbstractDataSetPackager } } else if (file.isFile()) { - long size = node.getFileLength(); + long size = file.length(); long checksum = isChecksumNeeded() ? node.getChecksumCRC32() : 0; try { -- GitLab