[Zope-dev] FieldIndex unindex_object could not remove... This should not happen.

Andreas Jung Andreas Jung" <andreas@zope.com
Thu, 28 Feb 2002 13:49:38 -0500


what zope version ?

- aj
----- Original Message -----
From: "Florent Guillaume" <fg@nuxeo.com>
Newsgroups: local.lists.zope.zope-dev
To: <zope-dev@zope.org>
Sent: Thursday, February 28, 2002 13:45
Subject: [Zope-dev] FieldIndex unindex_object could not remove... This
should not happen.


> Playing with workflow switching in CMF, I sometimes have this message:
>
> 2002-02-28T18:33:06 ERROR(200) FieldIndex unindex_object could not remove
documentId -862940561 from index review_state.  This should not happen.
> Traceback (innermost last):
>   File
/home/zope/test-zope/lib/python/Products/PluginIndexes/common/UnIndex.py,
line 168, in removeForwardIndexEntry
>     (Object: review_state)
> KeyError: -862940561
>
> I gather that this happens when I do self.unindexObject() on an object
> that had a review_state attribute (actually a workflow variable made
> available to the catalog through a wrapper) in the past (being in a
> reviewing workflow) but at the time of the unindexing this variable does
> not existe anymore because the current workflow followed by the object
> doesn't have it.
>
> Does this ring any bell ?
>
> Thanks,
>
> Florent
>
> --
> Florent Guillaume, Nuxeo (Paris, France)
> +33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>