[Zope-CMF] Re: Delete trouble
optilude at gmx.net
Mon Mar 26 14:26:13 EDT 2007
Philipp von Weitershausen wrote:
> Martin Aspeli wrote:
>> Philipp von Weitershausen wrote:
>>> *sigh* Chapter XYZ in my book explains the process :). Whenever you
>>> traverse over a site, its site manager becomes the active component
>>> registry. So if you haven't traversed over that site yet, the utilities
>>> in that site won't be found. It's that simple.
>> So specifically, when I'm in the root of the ZMI, tick a CMF/Plone site and
>> press Delete, will I be traversing over it or not?
> Of course not. Your URL doesn't reach as far as the CMF/Plone site.
Well, then that'd be our problem, wouldn't it. If I'm understanding this
problem correctly, no code in CMF or Plone that could potentially
execute during deletion can ever assume local components will be
available (unless explicitly passing a context parameter, I suppose).
More information about the Zope-CMF