[Zope-CMF] problem with plone and new workflow

robert rottermann robert@redcor.ch
Sat, 14 Dec 2002 18:23:43 +0100


Hi there,
I try to create a workflow that checks some condition before I allow to s=
=3D
ubmit=3D20
a document.
The script to be called in the transition is called checkTransition.

Now when I try to change the state to pending I get a tracebackr:

can anybody give me a hint where to look for a reason. I understand that =
=3D
the=3D20
plone navigation only kicks in after the transition??

thanks=3D20
robert


Site Error

An error was encountered while publishing this resource.

NavigationError
Sorry, a site error occurred.

Traceback (innermost last):
  File /home/zope/opt/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 1=
=3D
50,=3D20
in publish_module
  File /home/zope/opt/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 1=
=3D
14,=3D20
in publish
  File /home/zope/opt/Zope-2.5.1/lib/python/Zope/__init__.py, line 159, i=
=3D
n=3D20
zpublisher_exception_hook
    (Object: portal_form)
  File /home/zope/opt/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 9=
=3D
8, in=3D20
publish
  File /home/zope/opt/Zope-2.5.1/lib/python/ZPublisher/mapply.py, line 88=
=3D
, in=3D20
mapply
    (Object: temp)
  File /home/zope/opt/Zope-2.5.1/lib/python/ZPublisher/Publish.py, line 3=
=3D
9, in=3D20
call_object
    (Object: temp)
  File /home/zope/var/Instance/Products/CMFPlone/FormTool.py, line 232, i=
=3D
n=3D20
__call__
    (Object: temp)
  File /home/zope/var/Instance/Products/CMFPlone/NavigationTool.py, line =
=3D
94,=3D20
in getNextObject
    (Object: portal_navigation)
  File /home/zope/var/Instance/Products/CMFPlone/NavigationTool.py, line =
=3D
307,=3D20
in _getScript
    (Object: portal_navigation)
NavigationError: checkTransition