[Zope-CMF] Folders and workflow status?

Carl Rendell cer@sol43.com
Thu, 11 Jul 2002 12:24:37 -0700


On Thursday, July 11, 2002, at 11:49  AM, Tres Seaver wrote:

> 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.
>

As a further test.. I created a fresh Zope 2.5.1/CMF-1.3-beta2 
site. Added an item [Link], published the item, and reviewed it. 
All fine.

Deleted the item, and then attempted an 'Undo'.

Was challenged for authentication, and authentication... Received 
the same trace back.

This test was done against CMF-1.3-beta1 as well. Same results

I thought it might be a conversion issue, but I tested it clean. Am 
I missing something? I don't recall this behavior in other 
versions, and cannot duplicate in my Zope 2.4.3/CMF-1.1 site. BTW, 
all are running on the same platform.

Any ideas?

Carl E. Rendell
Solution43
Information Distribution Consulting        |   "Ahhhh the power of
cer@sol43.com                              |    acquisition"  - Chef Z