Author: michiel
Date: 2009-05-29 15:31:08 +0200 (Fri, 29 May 2009)
New Revision: 35512

Modified:
   mmbase/trunk/src/org/mmbase/datatypes/processors/BinaryCommitProcessor.java
Log:
added some debugging only

Modified: 
mmbase/trunk/src/org/mmbase/datatypes/processors/BinaryCommitProcessor.java
===================================================================
--- mmbase/trunk/src/org/mmbase/datatypes/processors/BinaryCommitProcessor.java 
2009-05-29 13:24:43 UTC (rev 35511)
+++ mmbase/trunk/src/org/mmbase/datatypes/processors/BinaryCommitProcessor.java 
2009-05-29 13:31:08 UTC (rev 35512)
@@ -80,8 +80,9 @@
             Object value = node.getObjectValue(field.getName());
             if (node.getNodeManager().hasField(filesizeField) &&
                 (! node.isChanged(filesizeField) || 
node.isNull(filesizeField))) {
-                log.debug("Setting filesize");
-                node.setValue(filesizeField, node.getSize(field.getName()));
+                long size = node.getSize(field.getName());
+                log.debug("Setting filesize to " + size);
+                node.setValue(filesizeField, size);
             } else {
                 log.debug("Skipping filesize");
             }

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to