OK, so, for some reason some CMF objects fail when being indexed
because they are wrapped in an aq wrapper that wrapped an
IndexableObjectWrapper that wraps another aq_wrapper.

And sometimes, the same object do not fail in otehrwise very similar
situation. *sigh*.

So for example, this works fine:

    container._setObject(id, ob)
    ob = container._getOb(id)
    <returns to the workflows constructInstance method>

 All if fine. And this fails:

    container._setObject(id, ob)
    ob = container._getOb(id)
        permission_to_manage='Access contents information',
    <returns to the workflows constructInstance method>

Now, it only fails around every second time. Mhm. Nope, not everytime.
It's regukar, a unit test will fail on the same places both times, but
*exactly the same call* will still fail about every second time.
Hurray. I'm so happy this problem is so easy to track down! Grrr.

Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/
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