On Sat, Sep 03, 2005 at 09:51:39PM +0200, Stefan H. Holek wrote:
| I get a traceback now from Guard.py
| 
| exceptions.NameError: global name 'r' is not defined
|   [snip]
|   File "/autotest/temp/python21-zope26-cmf14-plone20/Products/ 
| CMFCore/WorkflowTool.py", line 119, in manage_addWorkflow
|     ob = factory(id)
|   File "/autotest/temp/python21-zope26-cmf14-plone20/Products/ 
| CMFPlone/PloneWorkflow.py", line 26, in createDefaultPloneWorkflow
|     setupDefaultPloneWorkflow(ob)
|   File "/autotest/temp/python21-zope26-cmf14-plone20/Products/ 
| CMFPlone/PloneWorkflow.py", line 11, in setupDefaultPloneWorkflow
|     setupDefaultWorkflowRev2(wf)
|   File "/autotest/temp/python21-zope26-cmf14-plone20/Products/ 
| DCWorkflow/Default.py", line 98, in setupDefaultWorkflowRev2
|     props={'guard_roles':r_owner})
|   File "/autotest/temp/python21-zope26-cmf14-plone20/Products/ 
| DCWorkflow/Transitions.py", line 126, in setProperties
|     if g.changeFromProperties(props or REQUEST):
|   File "/autotest/temp/python21-zope26-cmf14-plone20/Products/ 
| DCWorkflow/Guard.py", line 124, in changeFromProperties
|     self.roles = tuple(r)

Amazing. There's no tests for that. I'll fix it.

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to