On Apr 19, 2008, at 6:20 AM, Hermann Himmelbauer wrote:
In my application, namely for URL-Rewriting for session handling, I
stop the current request and redirect to another url (including the
For that reason, I issue the following statement:
from zope.publisher.interfaces import Redirect
Theoretically, this exception should be caught by the publisher and
should be done, unfortunately not in my case:
Traceback (most recent call last):
line 130, in publish
obj = request.traverse(obj)
line 72, in
I don't know why this happens, *maybe* that's due to inclusion of
party packages, e.g. z3c.layer.pagelet?
To confirm this, I'd like to know if this scenario is only happening
so, can you please simply insert the above statement in some
and tell me if it works?
This may be a bug in Zope 3. I suspect that there needs to be an
error view or Redirect that actually does the redirect.
I think you are going to have to register a page for the redirect
exception that calls response.redirect.
See zope.app.exception.browser for other examples of exception views.
Zope3-users mailing list