--- a/server/sources/storages.py Fri Jun 13 15:56:08 2014 +0200
+++ b/server/sources/storages.py Tue Jun 10 18:17:07 2014 +0200
@@ -152,7 +152,6 @@
"""an entity using this storage for attr has been added"""
if entity._cw.transaction_data.get('fs_importing'):
binary = Binary.from_file(entity.cw_edited[attr].getvalue())
- entity._cw_dont_cache_attribute(attr)
else:
binary = entity.cw_edited.pop(attr)
fpath = self.new_fs_path(entity, attr)
@@ -171,7 +170,6 @@
# We do not need to create it but we need to fetch the content of
# the file as the actual content of the attribute
fpath = entity.cw_edited[attr].getvalue()
- entity._cw_dont_cache_attribute(attr)
assert fpath is not None
binary = Binary.from_file(fpath)
else: