Florent Guillaume wrote at 2005-4-1 17:48 +0200:
>Open issues are:
>1. what if there's an exception in the hook? I'd say log it but that's all.
I prefer: fail in the usual way.
>2. what if there's a Conflicterror? That's tougher to deal with... The
>transaction has to be retried, without the user being aware of it, so it
>means the hook should probably be called *before* things are sent to the
As you do it in the same transaction, you usually do it
before anything is sent to the browser (unless someone
I would handle the post publishing hook identical to
the main request action.
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -