[Zope-dev] Re: Zope 2.7 b3 problem with reindexing catalog

robert robert at redcor.ch
Tue Nov 25 03:23:16 EST 2003


I will report a bug
Robert
Am Dienstag, 25. November 2003 08:25 schrieb Yuppie:
> 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
>
>
>
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )

-- 
mit freundlichen Grüssen

Robert Rottermann
www.redCOR.ch




More information about the Zope-Dev mailing list