On Mon, 21 Aug 2000 16:03:38 +0200, Bob Pepin <[EMAIL PROTECTED]> wrote:

Yeah, this is a good one. Theres some debate in the Collector about
whether this is actually a bug or not.

In short, aq_inContextOf checks for nested aquisition contexts. It
does *not* check for nested objects.  It will return zero if you pass
it parallel acquisition contexts, even if the objects are indeed

>>>> iee=app.iee

>>>> iee.doc1.aq_inContextOf(iee)

This was what you expected

>>>> iee.doc1.aq_inContextOf(app.iee)

Here the acquisition wrappers `iee` and `app.iee` are distinct

Here is the full story, and a patch to get it to work the other way.


(This patch used to work, but ive not used it since it was submitted)

Toby Dickenson

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to