2009/1/31 Martijn Faassen <faas...@startifact.com>:
> Dan Korostelev wrote:
>> Also, there's a bug in zope.traversing:
>> The getParents function of zope.traversing.api uses the "getParents"
>> method of IPhysicallyLocatable, which really is new ILocationInfo, but
>> this interface doesn't even declare getParents method and the
>> RootPhysicallyLocatable adapter in zope.traversing doesn't implement
>> it as well so I got errors. :-/
> Oops, none of the tests caught that somehow, where'd you get the errors?

Well, getParents function got used for the root object by
z3c.breadcrumb in my application. :)

> Anyway, Christian Theune should be back online soon to help resolve this
> one.

This case should be added in tests. I think
zope.interface.verify.verifyObject will catch errors like that.

WBR, Dan Korostelev
Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to