[Zope-dev] ZCatalog

Marco Nova nova@tera-it.com
Fri, 30 Mar 2001 16:47:05 +0200


> > I'm a newbie about python and zope (about a week and a half 
> till now), so
> > probably most of what I say now is probably wrong.
> >
> > I was trying to customize the ZDiscussion product with file upload,
> editing
> > of previous posts and deletes of old posts and I guess I've 
> find a bug in
> > the ZCatalog.uncatalogObject method.
> 
> Thanks for the report!
> 
> This is already fixed in CVS.

you're welcome.

> > Or if we want to handle situations where the unindexs are 
> unsuccessfull,
> we
> > have to rewrite better the method with the use of transactions.
> 
> We needn't worry about manually managing transactions here 
> because the ZODB
> takes care of it for us.

So if a a method raise an exception all the things done (that involve zodb)
in the method will be rolled back ?

- mn