I have an error in this code fragment:

-------------  fragment ----------
for childObject in container.objectValues():
    childObject2=container[id] # sometimes gives a KeyError ????
------------- /fragment ----------

So it means that there are contained objects with an getId member that returns something different than the key that is used for these objects in the container object.

As it turns out, I indeed have such objects in my ZODB, and they cause all kinds of problems (fe, you can't rename them with the management interface)

The questions are:
  - has anyone else experienced this ?
  - what could be causing this ?



Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to