How do I undo the last change I made in Zope from the server itself? I send Zope into an infinite loop when I call Web sites! beno
On 8/7/06, beno <zope@2012.vi> wrote:
How do I undo the last change I made in Zope from the server itself? I send Zope into an infinite loop when I call Web sites!
What is "the server itself"? The ZMI or a shell? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
beno wrote at 2006-8-7 15:19 -0400:
How do I undo the last change I made in Zope from the server itself?
You already know how to "open" a ZODB in an interactive Python interpreter? If not, there is a HowTo around... You find the remaining things in the class "App.Undo.UndoSupport", especially the methods "undoable_transactions" and "manage_undo_transactions". The "transaction_info" parameter to "manage_undo_transactions" is a sequence of "tid"s where the "tid" stands for "transaction id" is is given by the "id" key in the result of "undoable_transactions". -- Dieter
participants (3)
-
beno -
Dieter Maurer -
Lennart Regebro