[Zope-CMF] Error when trying to use DCWorkflow

Lynn Walton waltonl@franklin.edu
Fri, 09 Nov 2001 15:33:22 -0600


I installed DCWorkflow 4 and added a workflow choosing
aWFbasedOnDC4Classic as my id and
default_workflow (Web-configurable workflow [Classic])

I then changed only Document (the CMFDocument) to use the new workflow
by putting
aWFbasedOnDC4Classic in next to Document on the workflows tab.

When I try to create a new Document (when in Member role) I get:

Error Type: Undefined
Error Value: "getId" not found in "transition/getId"

Traceback (innermost last):
  File
/opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZPublisher/Publish.py,
line 223, in publish_module
  File
/opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File
/opt/WWW/ZopeInstallation/Zope_software_home/lib/python/Zope/__init__.py,
line 226, in zpublisher_exception_hook
    (Object: Scott)
  File
/opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File
/opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: invokeFactory)
  File
/opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZPublisher/Publish.py,
line 112, in call_object
    (Object: invokeFactory)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/CMFCore/PortalFolder.py,
line 384, in invokeFactory
    (Object: Scott)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/CMFCore/TypesTool.py,
line 756, in constructContent
    (Object: portal_types)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/CMFCore/TypesTool.py,
line 488, in constructInstance
    (Object: Document)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/CMFDefault/Document.py,
line 134, in addDocument
  File
/opt/WWW/ZopeInstallation/Zope_software_home/lib/python/OFS/ObjectManager.py,
line 324, in _setObject
    (Object: Scott)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/CMFCore/PortalContent.py,
line 185, in manage_afterAdd
    (Object: aCMFDocToSeeIfDCWorkflowEmails)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/CMFCore/WorkflowTool.py,
line 585, in notifyCreated
    (Object: portal_workflow)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/DCWorkflow/DCWorkflow.py,
line 436, in notifyCreated
    (Object: aWFbasedOnDC4Classic)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/DCWorkflow/DCWorkflow.py,
line 499, in _changeStateOf
    (Object: aWFbasedOnDC4Classic)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/DCWorkflow/DCWorkflow.py,
line 588, in _executeTransition
    (Object: aWFbasedOnDC4Classic)
  File
/opt/WWW/ZopeInstallation/InstanceHome/Products/DCWorkflow/Expression.py,
line 121, in __call__
Undefined: (see above)

Can anyone advise?
I'm using Zope 2.4.2, and a CMF from the cvs dated Oct 28th on Solaris.

Thanks,
Lynn