Re: Unable to fix a POSKeyError
"Dieter Maurer" <[email protected]> Sun, 20 May 2007 21:10:00 +0200
| Newsgroups | gmane.comp.web.zope.database |
|---|---|
| Message-ID | <[email protected]> |
Ben Lobo wrote at 2007-5-18 17:33 +0100:
> ...
>I'm getting a POSKeyError when I try to access a particular file in a Plone
>site within the ZMI (see error report at
>http://hobointernet.com/POSKeyError.htm).
You replace this file by a new object using an interative Python interpreter:
container._setOb(idOfBrokenObject, someNewObject)
After that, you can delete the broken object
container._delObject(idOfBrokenObject)
and commit.
--
Dieter