[Checkins] SVN: CMF/branches/2.1/CMFCore/PortalObject.py Added the missing __parent__ pointer.

Hanno Schlichting plone at hannosch.info
Wed Jun 6 11:43:28 EDT 2007


Log message for revision 76429:
  Added the missing __parent__ pointer.
  

Changed:
  U   CMF/branches/2.1/CMFCore/PortalObject.py

-=-
Modified: CMF/branches/2.1/CMFCore/PortalObject.py
===================================================================
--- CMF/branches/2.1/CMFCore/PortalObject.py	2007-06-06 15:41:55 UTC (rev 76428)
+++ CMF/branches/2.1/CMFCore/PortalObject.py	2007-06-06 15:43:27 UTC (rev 76429)
@@ -70,6 +70,7 @@
                 next = base
             name = '/'.join(self.getPhysicalPath())
             self._components = PersistentComponents(name, (next,))
+            self._components.__parent__ = self
         return self._components
 
 InitializeClass(PortalObjectBase)



More information about the Checkins mailing list