[CMF-checkins] CVS: CMF/CMFCore - Skinnable.py:1.11
Fri, 20 Jun 2003 11:14:36 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv16853/CMFCore
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.11 ===
--- CMF/CMFCore/Skinnable.py:1.10 Fri Mar 14 13:00:33 2003
+++ CMF/CMFCore/Skinnable.py Fri Jun 20 11:14:36 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)