[Zope-dev] error messages and patches
John Eikenberry
jae@kavi.com
Fri, 5 Nov 1999 13:05:02 -0800 (PST)
Is there any plan to have Unauthorized errors use the
standard_error_message? Many of our clients want custom Unauthorized
errors, for which we have to use a dtml-raise tag or modify the ZPublisher
sources. Neither is ideal. It does seem like the Not Found error has
been changed in Zope 2.1.0 to use standard_error_message. As is implied
by: http://classic.zope.org:8080/Collector/796/view
I hate having to modify the zope source to do things, it makes upgrading a
real pain (still have a couple sites running 1.10.2 because we don't have
time to patch 1.10.3).
I've actually got a bit of time coming up that I have earmarked for moving
our stuff up to Zope2. I'd like to eliminate the need of modifying the
source code as much as possible. So if noone else is working on this
problem, I can do it.
While on the topic of patching Zope, we have a few other patches floating
around here. There's one which allows for all passwords to be encrypted
(both normal and UserDB pwds) and one that adds BCC to the Mail Host. Plus
a patch to mod_auth_mysql it get it to understand zope formatted roles
(so you can use a mysql DB for both zope/non-zope site authentication).
Anybody interested in these?
---
John Eikenberry
[jae@kavi.com - http://zhar.net/]
______________________________________________________________
"A society that will trade a little liberty for a little order
will deserve neither and lose both."
--B. Franklin