[Zope3-dev] possible bug in zc.relationship when passing empty
container as target in isLinked
Shaar Gabriel
gabi at shaargiora.co.il
Tue Jan 23 03:20:04 EST 2007
Hi
i think i found a bug in zc.relationship svn.
the bug is in shared.AbstractContainer.isLinked
if the target parameter is a container with no objects, then it resolves to
False in a bool context and tokenization fails
target and tokenize({'target': target})
returns the target instead of the result of the tokenize function.
More information about the Zope3-dev
mailing list