Re: [Zope3-dev] possible bug in zc.relationship when passing empty container as target in isLinked

2007-01-23 Thread Gary Poster
On Jan 23, 2007, at 3:20 AM, Shaar Gabriel wrote: 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({

[Zope3-dev] possible bug in zc.relationship when passing empty container as target in isLinked

2007-01-23 Thread Shaar Gabriel
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 re