Hi there, I was wondering why there is no easy way to register a view for an exception in Zope 2 yet (not even in Zope 2.10!). There is a product in the z3-base called FiveException: http://codespeak.net/svn/z3/FiveException/trunk/ It basically replaces zpublisher_exception_hook to get a view called. I would like to change zpublisher_exception_hook in Zope 2.10 and up to lookup a view for the exception there and get rid of this ugly patch. +1/-1? -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214
Sidnei da Silva wrote:
I was wondering why there is no easy way to register a view for an exception in Zope 2 yet (not even in Zope 2.10!).
Because nobody has refactored Zope 2 to support this yet...
There is a product in the z3-base called FiveException:
http://codespeak.net/svn/z3/FiveException/trunk/
It basically replaces zpublisher_exception_hook to get a view called. I would like to change zpublisher_exception_hook in Zope 2.10 and up to lookup a view for the exception there and get rid of this ugly patch.
+1 for Zope 2 trunk. -1 for 2.10, it's feature-frozen. -- http://worldcookery.com -- Professional Zope documentation and training
participants (2)
-
Philipp von Weitershausen -
Sidnei da Silva