[Zope-dev] RE: manage_after* with Copy/Cut/Paste

Martijn Faassen faassen@vet.uu.nl
Wed, 25 Jul 2001 11:58:05 +0200


Tim McLaughlin wrote:
> Matt,
> The manage_afterAdd is called after a paste, because essentially, the object
> has just been added.  And likewise, manage_beforeDelete is called before on
> the object being Cut (if it is cut).

And with the recent changes (which I'd like to see reverted),
with a rename, manage_beforeDelete is called *after* manage_afterAdd,
and what's worse, manage_beforeDelete receives the item with the changed
id already. :)

Regards,

Martijn