[Zope-dev] ZCatalog 'url' bug??
David Kankiewicz
kankie@thegrid.net
Sat, 18 Dec 1999 11:04:49 -0800
Bill Anderson wrote:
>
> Itamar Shtull-Trauring wrote:
> >
......
> >
> > This is in part because of unindex's EXTREMELY annoying behavior when you
> > call it on uncataloged objects.
> >
> > Unindex should simply *return* an error message if its called when the the
> > object is already uncataloged - raising an error is very annoying in a lot
> > of cases. It makes a lot more sense, too - at the end of the unidex I
> > want the object to be removed form the catalog. Since it alreasy isn't in
> > the catalog, unindex should just do nothing, not raise an exception!
> >
> > This sould solve lots of problems I've had (I always change
> > manage_beforeDelete in CatalogAware to do "try: self.unindex" to work around
> > this), and for a lot of other people too.
>
> FWIW, I have a short how-to on deleting uncatalogued objects that refuse
> to be deleted normally:
> http://www.zope.org/Members/Bill/Documentation/CatalogBadness
I just undid everything..
Thanks everybody,
David
>
> Bill
>