[Zope3-dev] Problems with persistent interfaces and status

Jim Fulton jim at zope.com
Sat Dec 20 07:58:35 EST 2003


Sidnei da Silva wrote:
> On Fri, Dec 19, 2003 at 02:43:13AM -0500, Jim Fulton wrote:
> | 
> | Hi Sidnei and Stephan,
> | 
> | As you discovered, the recent refactoring of adapters and interfaces
> | broke persistent interfaces.  Alas, there were no unit tests or
> | functional tests that caught this. :(
> | 
> | I've been analizing the problem.  It's rather deep, although I
> | think I understand what needs to be done. The problem lies with
> | the dependency management. (blah blah blah, you probably don't want to
> | know the details. :)
> 
> If you can give a minimal detail, it would help. I haven`t noticed any
> brokenness.  so its probably a feature that Im not using/not aware of.


Uh, you reported that you had trouble doing:

   directlyProvides(ob, somepersistentinterface)

I verified that this breaks. The problem has to do with the management
of dependencies between interfaces, declarations and adapter registrations.

Anyway, I'm working on it.

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