Arthur Lutz  <[EMAIL PROTECTED]> wrote:
> I'm having a bit of struggle with OFS.ObjectManager in Zope 2.7.6-final.
> In a manage_beforeDelete I want to raise a Redirect but it gets eaten up
> by in ObjectManager by a log and pass (line 307). 
> My question is: how do I get a Redirect through or how do I use the
> Exceptions that are actually caught (BeforeDeleteException or
> ConflictError - although the first seems more appropriate) ? 

Raise BeforeDeleteException (or a subclass) in your code in

Catch it and act on it from the code that calls manage_delObjects.


Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   [EMAIL PROTECTED]
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to