[Zope] ZCatalog len problem

Andreas Jung lists at zopyx.com
Sat Mar 24 12:01:36 EDT 2007



--On 24. März 2007 11:03:58 -0400 Jonathan <dev101 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070324/aa0fa8fe/attachment.bin


More information about the Zope mailing list