[CMF-checkins] CVS: CMF/CMFCore - Skinnable.py:1.10.6.1
Casey Duncan
casey@zope.com
Fri, 20 Jun 2003 11:09:21 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv15629/CMFCore
Modified Files:
Tag: CMF-1_4-branch
Skinnable.py
Log Message:
Fix __of__ method so that it does not remove previous acquisition wrappers. This behavior causes getPhysicalPath to return the wrong value when you acquire objects above the CMF site during traversal. The effect of this is invalid uid and path index entries in the portal_catalog when objects are indexed during such a traversal.
=== CMF/CMFCore/Skinnable.py 1.10 => 1.10.6.1 ===
--- CMF/CMFCore/Skinnable.py:1.10 Fri Mar 14 13:00:33 2003
+++ CMF/CMFCore/Skinnable.py Fri Jun 20 11:09:20 2003
@@ -138,7 +138,7 @@
Sneakily sets up the portal skin then returns the wrapper
that Acquisition.Implicit.__of__() would return.
'''
- w_self = ImplicitAcquisitionWrapper(aq_base(self), parent)
+ w_self = ImplicitAcquisitionWrapper(self, parent)
try:
w_self.setupCurrentSkin()
except: