[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ OFS.Image: 'Image.update_data' did not refresh the Etag.

Stefan H. Holek stefan at epy.co.at
Tue Mar 7 16:54:20 EST 2006


Log message for revision 65863:
  OFS.Image: 'Image.update_data' did not refresh the Etag.
  

Changed:
  U   Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
  U   Zope/branches/Zope-2_8-branch/lib/python/OFS/Image.py

-=-
Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
===================================================================
--- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2006-03-07 19:54:53 UTC (rev 65862)
+++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2006-03-07 21:54:19 UTC (rev 65863)
@@ -23,6 +23,8 @@
 
       - Missing import of NotFound in webdav.Resource.
 
+      - OFS.Image: 'Image.update_data' did not refresh the Etag.
+
   Zope 2.8.6 (2006/02/25)
 
     Bugs Fixed

Modified: Zope/branches/Zope-2_8-branch/lib/python/OFS/Image.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/OFS/Image.py	2006-03-07 19:54:53 UTC (rev 65862)
+++ Zope/branches/Zope-2_8-branch/lib/python/OFS/Image.py	2006-03-07 21:54:19 UTC (rev 65863)
@@ -781,6 +781,7 @@
 
         self.ZCacheable_invalidate()
         self.ZCacheable_set(None)
+        self.http__refreshEtag()
 
     def __str__(self):
         return self.tag()



More information about the Zope-Checkins mailing list