[Zope-PTK] Late changes to PTK broke my site

Lucas Hofman lucas.hofman@oslo.pgs.com
Fri, 23 Mar 2001 15:40:23 +0100


A customized portal , which worked fine on the last CVS version of
PTKDemo etc, has stopped working with the CMF 1.0Beta version. 

1. Pressing new in 'my stuff' does not anymore give me a liat with
items. Only the id box and add button. Looking in the types tool reveals
that all items are there.

2  When using the ZMI (or pyton code) to create an item the site fails
with the following error:

Error Type: AttributeError
Error Value: getCatalogVariablesFor

Traceback (innermost last):
  File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/share/Zope-2.3.0-linux2-x86/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
  File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: manage_addContent)
  File
/usr/share/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: manage_addContent)
  File /usr/share/zope/lib/python/Products/CMFCore/utils.py, line 385,
in manage_addContent
  File /usr/share/Zope-2.3.0-linux2-x86/lib/python/OFS/ObjectManager.py,
line 300, in _setObject
    (Object: Traversable)
  File /usr/share/zope/lib/python/Products/CMFCore/PortalContent.py,
line 155, in manage_afterAdd
    (Object: DynamicType)
  File /usr/share/zope/lib/python/Products/CMFCore/PortalContent.py,
line 138, in indexObject
    (Object: DynamicType)
  File /usr/share/zope/lib/python/Products/CMFCore/CatalogTool.py, line
219, in indexObject
    (Object: Traversable)
  File /usr/share/zope/lib/python/Products/CMFCore/CatalogTool.py, line
208, in catalog_object
    (Object: Traversable)
AttributeError: (see above)

This function is new (to me at least). It is defined in the Core default
workflow. The workflowsetup looks very different from what it was. Could
anyone help me understanding what is going on?

Thanks, 
-- 
Lucas Hofman
PGS Seres                                       work: +47 67514059
PO Box 354                                       fax: +47 67526640
N-1324 Lysaker, Norway                          home: +47 67581373