Martin Aspeli wrote at 2007-3-25 12:46 +0100:
> ...
>I agree, except I think there could potentially be lots of places where 
>this could be happening. In the general case, it's probably safe for 
>that code to assume the utility is there, and treat it as an error if 
>it's not, but during site deletion, it is probably at the mercy of the 
>order of deletions. At least that's my guess.

I would not find is a good approach, if exceptions were silently
suppressed.

If we know that during deletions exceptional cases could happen,
we should inform the component lookup process that we are doing
deletions such that it can be less strict in its behaviour.

However, usually the "I am going to be deleted" event is
signalled before the actual deletion takes place. Therefore, the
event processing still should find all utilities around.



-- 
Dieter
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to