[Zope-CMF] Unsupported format character.
Erik Enge
erik@thingamy.net
20 Jul 2001 08:39:29 +0200
Hi,
I've got CMF 1.1 up and running, and I've added my own workflow
(dc_workflow). I've got one content-type that subscribes to this
workflow. The states in the workflow are:
private
visible
Transitions are:
hide
show
Fair enough. Then I want to go into the 'hide' transition and add a
"Name (formatted)" to it; which I do ("Make private", for example). I
back to my content and press refresh to see the change in the box on
the left, and this is what I get:
ValueError
Sorry, a site error occurred.
Traceback (innermost last):
File /home/erik/development/zope-farm/Zope-2.3.3-linux2-x86/lib/python/ZPublisher/Publish.py, line 223, in publish_module
[snip]
File /home/erik/development/zope-farm/Zope-2.3.3-linux2-x86/lib/python/DocumentTemplate/DT_Let.py, line 148, in render
(Object: isAnon="portal_membership.isAnonymousUser()"
AuthClass="isAnon and 'GuestActions' or 'MemberActions'"
uname="isAnon and 'Guest'
or portal_membership.getAuthenticatedMember().getUserName()"
obj="this()"
actions="portal_actions.listFilteredActionsFor(obj)"
user_actions="actions['user']"
folder_actions="actions['folder']"
object_actions="actions['object'] + actions['workflow']"
global_actions="actions['global']")
File /home/erik/development/zope-farm/Zope-2.3.3-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 339, in eval
(Object: portal_actions.listFilteredActionsFor(obj))
(Info: portal_actions)
File <string>, line 0, in ?
File /home/erik/development/zope-farm/Zope-2.3.3-linux2-x86/lib/python/Products/CMFCore/ActionsTool.py, line 189, in listFilteredActionsFor
(Object: portal_actions)
File /home/erik/development/zope-farm/Zope-2.3.3-linux2-x86/lib/python/Products/CMFCore/WorkflowTool.py, line 439, in listActions
(Object: Traversable)
File /home/erik/development/zope-farm/Zope-2.3.3-linux2-x86/lib/python/Products/DCWorkflow/DCWorkflow.py, line 261, in listObjectActions
(Object: WorkflowUIMixin)
ValueError: unsupported format character '/' (0x2f)
Any ideas?