Hi Kosh, This can occur if you attach an attribute of an object to another existing object using assignment rather than setattr (and the connection is different, as may be the case) for example existingObject.attribute = otherObject.otherattribute (attribute can be a method, of course.) can cause the error you see - it happened to me! Use setattr(existingObject,attribute,otherObject.otherattribute) instead, it might help you... For further reference see line 640 of Blark.py in the CMFOptions sources. I would suspect that you have some python code doing something like.... When I uncovered this problem it appeared to have been working for a while - and often it would work until this type of bug happened. Good Luck! Jeff Sasmor jeff@sasmor.com www.netkook.com is an "open Zope CMF site" ----- Original Message ----- From: "kosh" <kosh@aesaeion.com> To: <zope@zope.org> Sent: Wednesday, July 11, 2001 5:33 PM Subject: [Zope] Zope InvalidObjectReference
375, in commit (Info: (('Products.CompoundDoc.inputtext', 'InputText'), '\000\000\000\000\000\000qM', '')) InvalidObjectReference: Attempt to store an object from a foreign database connection
The object it is referring to is one of my objects however the problem is that no line of my code is referenced and I am not sure where to even begin looking.