[ZODB-Dev] Problem with Undoable-transactions ?

Eric Brun eric.brun@univ-savoie.fr
Tue, 17 Jul 2001 15:18:39 +0200


Hi, 
We are working on a portal maded with Zope 2.3.3 and PTK 0.71 (based on).
and we has some hard problem of undo:
Our configuration :
Zope 2.3.3
Linux Mandrake 8.0 with python 1.5.2
openLdap 2.11
PTK 0.71 and our components
ZEO 1.0b

Recently, maybe when we had update Zope 2.3.2 to Zope 2.3.3 , we had detect 
that we could'nt undo transactions on our components and other things in our 
portal. When I create an Zope object in management screen , I can undo it. 
But when a member of my portail create , delete and try to undo the last 
transaction, an error is raised :

Type d'erreur
UndoError 

Type de valeur
non-undoable transaction 

traceball
Traceback (innermost last):
File /usr/local/Zope-2.3.2-linux2-x86/lib/python/ZPublisher/Publish.py, line 
171, in publish
File /usr/local/Zope-2.3.2-linux2-x86/lib/python/ZPublisher/mapply.py, line 
160, in mapply
(Object: portal_undo)
File /usr/local/Zope-2.3.2-linux2-x86/lib/python/ZPublisher/Publish.py, line 
112, in call_object
(Object: portal_undo)
File 
/usr/local/Zope-2.3.0-linux2-x86/lib/python/Products/PTKBase/PortalObject.py, 
line 413, in portal_undo
(Object: UnivPortalBase)
File /usr/local/Zope-2.3.2-linux2-x86/lib/python/App/Undo.py, line 175, in 
manage_undo_transactions
(Object: UnivPortalBase)
File /usr/local/Zope-2.3.2-linux2-x86/lib/python/ZODB/DB.py, line 571, in undo
File /usr/local/Zope-2.3.2-linux2-x86/lib/python/ZEO/ClientStorage.py, line 
575, in undo
(Object: ZEO Storage)
File /usr/local/Zope-2.3.2-linux2-x86/lib/python/ZEO/zrpc.py, line 225, in 
__call__
(Object: dispatcher)
UndoError: non-undoable transaction

An other strange thing is that I can see the transaction of DTML like 
"portal_contents, portal_undo(view of undoable-transaction), index_html ...)
In Management screen when I try undo, I don't have "manage_UndoForm" in the 
list of undoable-transaction.

I think the problem is not directly linking with Zope 2.3.3 version or ZEO. 
I had done a lot of logic tests of zope version (compare files , clean 
install of our portal etc ............ ) and some stupid tests (not so logic) 
but the undo function don't want to run in my portal.

AnyOne have an idea ?? 

Thanks for your help !





-- 
Eric Brun
Mission TIC
Savoie Technolac
France
E-mail : Eric.Brun@univ-savoie.fr