[ZCM] [ZC] 1134/ 1 Request "Reindexing of a ZCatalog fails in 2.7"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Tue Nov 25 03:28:20 EST 2003
Issue #1134 Update (Request) "Reindexing of a ZCatalog fails in 2.7"
Status Pending, Catalog/bug critical
To followup, visit:
http://collector.zope.org/Zope/1134
==============================================================
= Request - Entry #1 by robertr on Nov 25, 2003 3:28 am
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
==============================================================
More information about the Zope-Collector-Monitor
mailing list