[Zope3-Users] Utility registration vanished after restart?
srichter at cosmos.phy.tufts.edu
Mon Jan 8 02:26:18 EST 2007
On Tuesday 02 January 2007 07:29, Florian Lindner wrote:
> getSiteManager().registerUtility(self, INewsfeed, self.__name__)
> both registration show up fine in the ZMI registration tab. But after a
> restart of Zope both object are unregistred again.
> Is this behavior correct? Why that?
Well, if getSiteManager() returns the global site manager, then of course it
is gone, since global registrations are not persisted. See my other mail on
how to do it right.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users