[ZODB-Dev] InvalidObjectReference - Attempted to store an object from a foreign database connection

Andreas Jung lists at zopyx.com
Thu Mar 18 13:25:59 EST 2004


Hi,

I am bringing this issue here up again because this error is an annoying 
problem when using CMF or Plone
(no idea how they are related to the bug). There also a collector issue 
pending:

   http://collector.zope.org/Zope/1248

Trying to track this down I added some a debug output infront of the 
dump(state) call
in Connection.py, line 418. I can reproduce this error e.g. by clicking 
simultaneously
several on "new Issue" in PCNG. This will create new PCNG Issue instances.
The last  debug output before the dump() call is:

dumping {'classification': u'Bug', 'contact_position': u'Zope Guru', 
'_watchers': [], 'creation_date': DateTime('2004/03/18 19:12:43.392 
GMT+1'), 'topic': u'', 'contact_address': u'n/a', 'expirationDate': None, 
'_tree': <OOBTree object at 0x43f4c3d8>, 'contact_name': u'Andreas Jung', 
'subject': u'', 'effectiveDate': None, 'title': 
'PloneIssueNG.2004-03-18.3356338729', '_transcript': <Transcript instance 
at 43f70950>, 'progress_hours_needed': u'0', 'id': 
'PloneIssueNG.2004-03-18.3356338729', '_defaults_initialized': 1, 
'contact_phone': u'07071 ....', 'schema': <PCNGSchema instance at 
41691470>, 'importance': u'medium', 'portal_type': 'PloneIssueNG', 
'_mt_index': <OOBTree object at 0x43f4c410>, 'progress_percent_done': u'0', 
'_at_uid': '251aa09ad9ba9a57ef879c69189c2978', 'contact_email': 
u'andreas.jung at haufe.de', 'progress_hours_estimated': u'0', '_signature': 
'\x9a9\xd8j\x9cY\xdc\x18\x0f\x08\xe6F\xe4i\xee\xc3', 'modification_date': 
DateTime('2004/03/18 19:12:43.392 GMT+1'), '_count': <Length instance at 
43f708f0>, 'operating_system': (), 'language': u'', 'contact_city': 
u'T\xfcbingen', 'progress_deadline': DateTime('2004/04/01 19:12:43.672 
GMT+1'), 'solution': u'', 'haufeidx': u'', 'contact_company': u'Haufe', 
'_owner': (['plone_trackers', 'acl_users'], 'ajung'), 'contact_fax': 
u'07071', '_last_action': 'Created', '__ac_local_roles__': {'ajung': 
['Owner']}, 'workflow_history': {'pcng_issue_workflow': ({'state': 
'created', 'confidential': '', 'assigned_to': ''}, {'state': 'pending', 
'confidential': 0, 'assigned_to': ''}), 'pcng_issue_workflow 
(PloneCollectorNG default workflow)': ({'state': 'created', 'confidential': 
'', 'assigned_to': ''}, {'state': 'pending', 'confidential': 0, 
'assigned_to': ''})}}

Ok, we have a dict. What are the next steps that I can try to figure out 
which of the items causes this problem?

Thanks,
Andreas


-- 

Andreas Jung
--------------------------------
www.zopyx.com Software-Entwicklung und Consulting Andreas Jung



More information about the ZODB-Dev mailing list