[Zope3-dev] Heads up: planning to restructure zope.app.uniqueid

Jim Fulton jim at zope.com
Tue Nov 30 16:10:27 EST 2004


Dominik Huber wrote:
> Their is an other bug caused by the local utility service.
> 
> The local utility service uses
> zope.interface.implementsOnly(ILocalUtilityService, ISimpleService,
> IBindingAware). Therefore
> the local utility service does not provide IPersistent and provokes an
> AdaptionError if it is registered or unregistered
> by a intid-utility.
> 
> Is there a specific reason not to implement IPersistent by
> LocalUtilityService?

No.

> Should I register the IKeyReference and IConnection adapter to
> ILocalUtilityService or
> should I implement IPersistent to LocalUtilityService?

implement IPersistent to LocalUtilityService

> I added a test for illustration (...src/zope/app/intid/tests.py,
> test_localutilityservice_bug).

:)

Thanks.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list