[Zope-dev] XMLWidget ldemo undeletable.

Robin Becker robin@jessikat.demon.co.uk
Fri, 15 Oct 1999 10:41:18 +0100


In article <19991015023035.A13088@vet.uu.nl>, Martijn Faassen
<faassen@vet.uu.nl> writes
>Martijn Faassen wrote:
>> Now probably there's already some script in the utilities directory that
>> does the trick... Hm, looking at it you might be able to use bbb.py to
>> generate a report on what transaction caused the mess, and then manually
>> truncate your database to a state before that.
>
>Okay, I was wrong. :) I just tried bbb.py and this won't work; it won't work
>on ZODB 3. I imagine Digital Creations could have some hacked up ZODB 3
>reporting/manipulation tools lying around. If so perhaps it'd be a good idea
>to release some of them (if only so we can study the source code for
>inspiration). 
>
>Regards,
>
>Martijn
>
...
I exported out all the good bits and then re-initialised my db. I knew
that I had to delete things, just forgot a particular instance. Overall
a real pain. Incidentally even after I deleted the xmlwidget subtree of
Products I stll saw a fake XMLWidgets product in zope. I was unable to
delete the product. What's the correct way to remove a product?
-- 
Robin Becker