[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    Re: [Zope] ZCatalog len problem
From:       Andreas Jung <lists () zopyx ! com>
Date:       2007-03-24 16:01:36
Message-ID: 98D66FBAA5D5D26301BE1CA1 () suxmac2 ! local
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


--On 24. M=C3=A4rz 2007 11:03:58 -0400 Jonathan <dev101@magma.ca> wrote:

> I don't think it is an indexing problem as the indexes are reporting the
> correct number of entries.  It is just the _length() method of the
> catalog that seems to be the problem (but I have noooo idea how to fix
> it!)
>

Of course it has to do with indexing since the catalog triggers the
related index_object() calls of the indexes :-)
You might track this down by checking the self._length.change()
calls that increment/decrement the counter. A unittest demonstrating
the error might help a lot *wink* :-)

Andreas
[Attachment #5 (application/pgp-signature)]

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic