Ken Ara wrote at 2007-5-7 13:47 -0700:
> ...
>    * Module OFS.ObjectManager, line 290, in _getOb
>AttributeError: Documents_catalog

"ObjectManager" has 2 references to its children: one in "_objects"
and one as a direct attribute. You deleted the direct attribute
but forget to delete the reference in "_objects", thus making
the "ObjectManager" data structure inconsistent.

The easiest way to fix this is something like:

    from OFS.DTMLMethod import DTMLMethod
    object_manager.Documents_catalog = DTMLMethod()

Then commit.

This is also the easiest way to get rid of broken objects (as
it avoids the inconsistencies in the first place).

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to