# HG changeset patch # User Pierre-Yves David # Date 1329228862 -3600 # Node ID 1bb43e31032db0df50bb331cfccf6d761be603f5 # Parent eff4fe02ec6478e2526ba5a7f1104f5758cdfdb6 [bfss, migration] fix storage migration (closes #2189206) The storage migration intend to clean the attributes cache but in practice it was trying to discard attribut edition. As no attribut were edited this lead to a crash. diff -r eff4fe02ec64 -r 1bb43e31032d server/migractions.py --- a/server/migractions.py Thu Jan 19 12:57:02 2012 +0100 +++ b/server/migractions.py Tue Feb 14 15:14:22 2012 +0100 @@ -1412,7 +1412,7 @@ getattr(entity, attribute) storage.migrate_entity(entity, attribute) # remove from entity cache to avoid memory exhaustion - del entity[attribute] + del entity.cw_attr_cache[attribute] pb.update() print source.set_storage(etype, attribute, storage)