Dieter Maurer wrote:
robert wrote at 2003-11-24 05:32 +0100:
Traceback (innermost last):
* Module ZPublisher.Publish, line 100, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 40, in call_object * Module Products.ZCatalog.ZCatalog, line 474, in manage_reindexIndex * Module Products.ZCatalog.ZCatalog, line 459, in reindexIndex
TypeError: catalog_object() got an unexpected keyword argument 'update_metadata'
"update_metadata" is a new keyword argument introduced recently (to fix a bug in Zope 2.6.2).
Apparently, you have hit a bug in "ZCatalog":
While "reindexIndex" already uses the new argument, "catalog_object" does not yet support it.
Yes. CMF's CatalogTool inherits from ZCatalog and overrides catalog_object. Robert, please report this to the Zope and the CMF Collector: - Zope's ZCatalog should have a capability check in reindexIndex. (Zope-2_6-branch, Zope-2_7-branch and HEAD) - CMF's CatalogTool should implement the new Interface. Cheers, Yuppie