[Zope-CMF] CMF 1.1 bug with catalog ?

Florent Guillaume fg@nuxeo.com
Wed, 8 Aug 2001 17:13:06 +0200


I have a bug that I can't reproduce on cmf.zope.org, so maybe is it
already fixed ? Here it is anyway:

In a CMF 1.1, using the "Metadata" form, change the title of a document
to read:
	foo ...
That is, foo space dot dot dot.

An exception is raised:

... snipped ...
 File /home/zope/zopesig/lib/python/DocumentTemplate/DT_Util.py, line 339, in eval
    (Object: portal_actions.listFilteredActionsFor(obj))
    (Info: portal_actions)
  File <string>, line 0, in ?
  File /home/zope/zopesig/lib/python/Products/CMFCore/ActionsTool.py, line 190, in listFilteredActionsFor
    (Object: portal_actions)
  File /home/zope/zopesig/lib/python/Products/CMFCore/WorkflowTool.py, line 442, in listActions
    (Object: Traversable)
  File /home/zope/zopesig/lib/python/Products/DCWorkflow/DCWorkflow.py, line 306, in listGlobalActions
    (Object: WorkflowUIMixin)
  File /home/zope/zopesig/lib/python/Products/CMFCore/CatalogTool.py, line 255, in searchResults
    (Object: Traversable)
  File /home/zope/zopesig/lib/python/Products/ZCatalog/ZCatalog.py, line 535, in searchResults
    (Object: Traversable)
  File /home/zope/zopesig/lib/python/Products/ZCatalog/Catalog.py, line 657, in searchResults
  File /home/zope/zopesig/lib/python/Products/ZCatalog/Catalog.py, line 542, in _indexedSearch
  File /home/zope/zopesig/lib/python/SearchIndex/UnTextIndex.py, line 516, in _apply_index
  File /home/zope/zopesig/lib/python/SearchIndex/UnTextIndex.py, line 579, in query
  File /home/zope/zopesig/lib/python/SearchIndex/UnTextIndex.py, line 651, in evaluate
  File /home/zope/zopesig/lib/python/SearchIndex/UnTextIndex.py, line 588, in get_operands
TextIndex.QueryError: Malformed query


Thanks,

Florent Guillaume
Nuxeo