[ZCM] [ZC] 1354/ 2 Comment "Publish.publish error handling"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri May 28 12:27:54 EDT 2004


Issue #1354 Update (Comment) "Publish.publish error handling"
 Status Pending, Zope/bug critical
To followup, visit:
  http://zope.org/Collectors/Zope/1354

==============================================================
= Comment - Entry #2 by mcdonc on May 28, 2004 12:27 pm

I grossly overestimated the effect that can be caused by neglecting to catch an error generated from the error handler.  Zope won't shut down.  But the transaction won't be aborted.  I actually think this might be ok, as it will implicitly be started by the next begin() but I'm looking into it.
________________________________________
= Request - Entry #1 by mcdonc on May 27, 2004 12:20 pm

Recently a patch was applied to the main ZPublisher.Publish.publish method to cause an error handler to be executed in the context of the "main" transaction for the request.  Michael Dunstan has pointed out that if the error handler itself raises an error, it would be possible for unintended things to happen (like, perhaps Zope shutting down).
==============================================================




More information about the Zope-Collector-Monitor mailing list