diff -r 4d24ac49f90d -r 60a13447f389 server/sources/storages.py --- a/server/sources/storages.py Fri Jan 18 18:48:15 2013 +0100 +++ b/server/sources/storages.py Fri Nov 23 18:27:35 2012 +0100 @@ -152,6 +152,7 @@ """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, repo_side=True) else: binary = entity.cw_edited.pop(attr) fpath = self.new_fs_path(entity, attr) @@ -170,6 +171,7 @@ # 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, repo_side=True) assert fpath is not None binary = Binary.from_file(fpath) else: