[Zope-CMF] CMF 1.5 manage_afterAdd & co

Andreas Jung lists at andreas-jung.com
Thu Nov 10 00:43:18 EST 2005



--On 9. November 2005 20:41:24 +0100 Dieter Maurer <dieter at handshake.de> 
wrote:

> Florent Guillaume wrote at 2005-11-9 16:17 +0100:
>> ...
>> To make sure that CMF 1.5.5 will play well with Five 1.2, I have to
>> make sure that no method manage_afterAdd redoes a recursion that one
>> of its base classes was doing, as we have to be prepared to have the
>> base class monkey-patched to use events, and have recursion done with
>> events.
>> ...
>> Does someone have a problem with me doing that in the CMF 1.5 branch?
>
> Test with with Archetypes and Plone...
> Archetypes does a nice dance with "manage_afterAdd".
> If fact, it gets it wrong (such that objects are indexed much more
> than once).

Up to eight times per transaction ....

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20051110/21df7fb6/attachment.bin


More information about the Zope-CMF mailing list