[Zope-CMF] Trouble adding a new site
yuppie
y.2010 at wcm-solutions.de
Wed Dec 8 09:21:19 EST 2010
Charlie Clark wrote:
> Am 08.12.2010, 14:48 Uhr, schrieb yuppie<y.2010 at wcm-solutions.de>:
>
>> In line 59 you just have a bare CMFSite object without any tools.
>
> Hi Yuppie,
>
> thanks for the quick reply. How come I don't have any tools? Is this
> related to more recent buildouts not magically including Products.* stuff?
> Products.CMFDefault (2.2.0) is installed.
No. Have a look at the addConfiguredSite function: It first adds a bare
CMFSite object, then adds the setup tool and importing the profile that
adds the types tool is the last step. Your event handler just tries too
early to look up the tool.
Cheers, Yuppie
More information about the Zope-CMF
mailing list