30 Mar
2001
30 Mar
'01
2:47 p.m.
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