[Zope-PTK] Re: 2.2.1beta1
Shane Hathaway
shane@digicool.com
Tue, 15 Aug 2000 17:36:33 -0400
peter spark wrote:
> i've been tinkering up until now...
>
> the below problem with 2.2.1 b - what do I need to do to get ptk8.2
> workin?
Want the quick fix? In lib/python/App/Factory.py, change
manage_afterAdd() to this:
def manage_afterAdd(self, item, container):
if hasattr(self, 'aq_parent'):
container=self.aq_parent
elif item is not self:
container=None
if (item is self or
getattr(container, '__class__', None) is Product.Product):
self._register()
The two lines that used to be there (manage_setPermissionMapping() or
something like that) caused Zope to choke upon importing a .zexp
containing ZClass factories.
To get the lastest bugfixes quickly, however, you can't beat CVS.
Shane