[Zope-dev] Undo product stops working with recent Zope (StorageTransactionError)

Hanno Schlichting hanno at hannosch.eu
Tue Jan 24 13:50:44 UTC 2012


On Tue, Jan 24, 2012 at 2:14 PM,  <lists at nidelven-it.no> wrote:
> It used to work, but with the most recent versions of
> Zope this error appears if the Undo by date is used
> more than once:

The undo API has changed with ZODB 3.10. As noted in the changelog:

"The API for undoing multiple transactions has changed. To undo
multiple transactions in a single transaction, pass a list of
transaction identifiers to a database's undoMultiple method. Calling a
database's undo method multiple times in the same transaction now
raises an exception."

Your code calls undo multiple times, and needs to be changed accordingly.

Hanno


More information about the Zope-Dev mailing list