[Zope3-dev] Please solve 'deleting container' issues ;-)
Tres Seaver
tseaver@zope.com
10 May 2002 09:41:05 -0400
On Fri, 2002-05-10 at 08:25, Chris Withers wrote:
> Janko Hauser wrote:
> >
> > Ok, but I keep thinking, that this is only the technical side. This
> > machinerie is not triggered, if I delete the hole container.
>
> This is another problem that needs solving in Zope 3 ;-)
>
> For example, if I delete a ObjectManager (or whatever it is in Zope 3), I want all the
> objects contained in that ObjectManager to unindex themselves before they get deleted...
Actually, you specifically *don't* want the objects to unindex
themselves; you want the image to notice that all items under that
branch of the tree are now gone, and remove them. Hence the ObjectHub
stuff.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com