[Zope-CMF] Folders and workflow status?

Tres Seaver tseaver@zope.com
11 Jul 2002 14:49:04 -0400


On Thu, 2002-07-11 at 14:33, Carl Rendell wrote:

> > That is correct.  You want to remove the "binding" of the "(Default
> > workflow)" to the type of your custom folders (on the "Workflows" tab
> > of the 'portal_workflow' tool).
> >
> 
> Yep,
> 
> That fixes that problem. I have another. I'm having some issue with 
> the Undo. I've tested against a 'pure' CMF-1.3-beta2 site, and one 
> that was migrated from CMF 1.1. Same traceback:

<snip>

> /Applications/zConversion/lib/python/Products/CMFCore/FSPythonScript.py, 
> line 122, in _exec
>      (Object: undo)
>      (Info: ({'script': <FSPythonScript instance at 14c8990>, 
> 'context': <CMFSite instance at 1a3ed90>, 'container': <CMFSite 
> instance at 1a3ed90>, 'traverse_subpath': []}, 
> (['QTBZTjBwaGYreEVBQUFBQUFKU2ptZ0FBQUFBQUFTUSs=\r\n 2002/07/11 
> 11:26:35.713 GMT-7 /intranet/glink_edit '],), {}, None))
>    File Script (Python), line 1, in undo
>    File 
> /Applications/zConversion/lib/python/Products/CMFCore/UndoTool.py, 
> line 116, in undo
>      (Object: portal_undo)
> Unauthorized: (see above)

I don't reproduce this traceback;  I get an unauthorized (as a
non-manager) because the 'undo' method redirects to
'portal_url/folder_contents', which Members can't do.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com