[Zope-CMF] Unable to 'Undo'
Carl Rendell
cer@sol43.com
Fri, 12 Jul 2002 09:19:15 -0700
Folks,
I'm still struggling this morning with using undo from the user
interface...
Config
Zope 2.5.1/CMF-1.3-beta2
Use Case
1. add an item
2. make changes to item
3. attempt to undo changes
Behavior
An 'Unauthorized' is returned with the following traceback:
Site Error
An error was encountered while publishing this resource.
Unauthorized
Traceback (innermost last):
File /Applications/ZTest-2.5.1/lib/python/ZPublisher/Publish.py,
line 150, in publish_module
File /Applications/ZTest-2.5.1/lib/python/ZPublisher/Publish.py,
line 114, in publish
File /Applications/ZTest-2.5.1/lib/python/Zope/__init__.py, line
159, in zpublisher_exception_hook
(Object: dev)
File /Applications/ZTest-2.5.1/lib/python/ZPublisher/Publish.py,
line 98, in publish
File /Applications/ZTest-2.5.1/lib/python/ZPublisher/mapply.py,
line 88, in mapply
(Object: undo)
File /Applications/ZTest-2.5.1/lib/python/ZPublisher/Publish.py,
line 39, in call_object
(Object: undo)
File
/Applications/ZTest-2.5.1/lib/python/Products/CMFCore/FSPythonScript.py,
line 88, in __call__
(Object: undo)
File
/Applications/ZTest-2.5.1/lib/python/Shared/DC/Scripts/Bindings.py,
line 252, in __call__
(Object: undo)
File
/Applications/ZTest-2.5.1/lib/python/Shared/DC/Scripts/Bindings.py,
line 283, in _bindAndExec
(Object: undo)
File
/Applications/ZTest-2.5.1/lib/python/Products/CMFCore/FSPythonScript.py,
line 122, in _exec
(Object: undo)
(Info: ({'script': <FSPythonScript instance at 15d97d0>,
'context': <CMFSite instance at 128be00>, 'container': <CMFSite
instance at 128be00>, 'traverse_subpath': []},
(['QTBZUzhFa1dPL2NBQUFBQUFEaXBrQUFBQUFBQUFDdUc=\r\n 2002/07/12
09:16:17.130 GMT-7 /dev/link_edit '],), {}, None))
File Script (Python), line 1, in undo
File
/Applications/ZTest-2.5.1/lib/python/Products/CMFCore/UndoTool.py,
line 116, in undo
(Object: portal_undo)
Unauthorized: (see above)
Can't use 1.3 without the undo feature... Can anyone shed some
light on the problem? Did I miss something in the configuration?
~C
Carl E. Rendell
Solution43
Information Distribution Consulting | "Ahhhh the power of
cer@sol43.com | acquisition" - Chef Z