[Zope3-dev] zope.app.publication uses hard coded global registry

Christian Theune ct at gocept.com
Wed Apr 25 07:55:33 EDT 2007


Hi,

I'm trying to set up a PAU for a ZODB less application. I stumbled over
the fact that zope.app.publication.zopepublication.ZopePublication uses
an imported singleton of the global registry.

This registry is also registered as a utility, so IMHO this should be
done by calling getGlobalSiteManager().getUtility(IAuthentication)
instead of using this hard coded thing. :/

Christian

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20070425/7dfbd8f3/attachment.bin


More information about the Zope3-dev mailing list