Re[2]: [Zope-CMF] Error(200) Unsuccessful uncatalog

Rainer Thaden Rainer Thaden <Thadi@gmx.de>
Sun, 26 Jan 2003 10:46:40 +0100


Hi Luca,

>>
>> "Error(200) Catalog uncatalogObject unsuccessfully attempted to
>> uncatalog an object with a uid of ..."
>> 
>> In my self-written classes I have
>> 
>>     security.declarePrivate('manage_beforeDelete')
>>     def manage_beforeDelete(self, item, container):
>>         " Remove self from the workflow and catalog. "
>>         if aq_base(container) is not aq_base(self):
>>             self.unindexObject()
>>         SkinnedFolder.manage_beforeDelete(self, item, container)

LO> SkinnedFolder.manage_beforeDelete will try to unindex the object and 
LO> fail because you already unindexed it (it should be harmless though).
LO> Remove the "if aq_base.....:self.unindexObject()" or, if SkinnedFolder 
LO> is the first class you inherit from, you can remove the method alltogether.

You are perfectly right. Works fine now. Since SkinnedFolder is not
first class (only second class ;) i can not remove it.
Thanks.

-- 
Regards,
 Rainer                            Thadi@gmx.de