[Zope-dev] Re: catalogObject changes (Zope-2_6-branch)

Chris McDonough chrism at zopemafia.com
Tue Oct 7 15:57:29 EDT 2003


OK, I checked in changes on the 2.6, 2.7, and HEAD branches that add an
update_metadata keyword argument to Catalog's catalogObject and
ZCatalog's catalog_object.  The argument defaults to true.  I also added
some tests, and made sure that the reindexIndex method of ZCatalog took
advantage of this feature.

- C


On Tue, 2003-10-07 at 12:08, Chris McDonough wrote:
> On Tue, 2003-10-07 at 09:52, Casey Duncan wrote:
> > This is broken in 2.6.2 and I would consider it a bug in that release. I would 
> > support an improved api such as:
> > 
> > catalog_object(obj, idxs=[], metadata=1)
> > 
> > The way it is currently breaks at least one of my applications as well 
> > (ironically, this was an application the Chris was also working on).
> 
> FWIW, those changes have been in there for two months on the 2.6
> branch.  This includes 2.6.2b3, b4, b5, and b6.  The breakage couldn't
> have been *that* bad. ;-)
> 
> - C
> 
> 
> 
> _______________________________________________
> 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 )




More information about the Zope-Dev mailing list