server/edition.py
changeset 8513 552de9f0c46d
parent 8494 1527b012802f
child 8556 bbe0d6985e59
--- a/server/edition.py	Thu Aug 02 10:09:11 2012 +0200
+++ b/server/edition.py	Thu Aug 02 19:00:22 2012 +0200
@@ -61,10 +61,8 @@
         # attributes, else we may accidentaly skip a desired security check
         if attr not in self:
             self.skip_security.add(attr)
-        elif value != self[attr]:
-            # also, if value differs, mark attribute as needing purge by the
-            # client
-            self.entity._cw_dont_cache_attribute(attr)
+        # mark attribute as needing purge by the client
+        self.entity._cw_dont_cache_attribute(attr)
         self.edited_attribute(attr, value)
 
     def __delitem__(self, attr):