[CMF-checkins] CVS: Products/CMFDefault - Image.py:1.28
Jens Vagelpohl
jens at dataflake.org
Fri Aug 6 07:32:12 EDT 2004
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv8924/CMFDefault
Modified Files:
Image.py
Log Message:
- Make sure PortalContent's manage_afterClone gets called when an Image is
pasted (http://www.zope.org/Collectors/CMF/176)
=== Products/CMFDefault/Image.py 1.27 => 1.28 ===
--- Products/CMFDefault/Image.py:1.27 Sat Jul 31 10:29:52 2004
+++ Products/CMFDefault/Image.py Fri Aug 6 07:32:12 2004
@@ -171,6 +171,12 @@
PortalContent.manage_beforeDelete(self, item, container)
OFS.Image.Image.manage_beforeDelete(self, item, container)
+ security.declarePrivate('manage_afterClone')
+ def manage_afterClone(self, item):
+ """Both of my parents have an afterClone method"""
+ PortalContent.manage_afterClone(self, item)
+ OFS.Image.Image.manage_afterClone(self, item)
+
security.declarePrivate('_isNotEmpty')
def _isNotEmpty(self, file):
""" Do various checks on 'file' to try to determine non emptiness. """
More information about the CMF-checkins
mailing list