> In Zope 2.10 'raise_standardErrorMessage', 'zpublisher_exception_hook'
> and therefore 'Publish.publish' did always (re-)raise errors after
> rendering. That made sure 'HTTPResponse.exception' was called and
> CookieCrumbler was able to hook into 'HTTPResponse._unauthorized'.
> I'm now trying to figure out how this bug could be fixed:
For the record:
Meanwhile I figured out that there is a related launchpad issue
and a workaround for the CookieCrumbler issue:
I also removed some useless code in 'raise_standardErrorMessage':
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -