Charlie Clark wrote: > Am 08.12.2010, 14:48 Uhr, schrieb yuppie<[email protected]>: > >> 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 _______________________________________________ Zope-CMF maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-cmf See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
