[Zope] How to avoid the recording of a transaction? (that causes Undo weirdness)

Dieter Maurer dieter@handshake.de
Fri, 10 Jan 2003 21:00:15 +0100


Ausum. wrote at 2003-1-9 11:09 -0500:
 > I'm currently writing a product for the ZMI, that pops up a DHTML menu with
 > links to the recent objects we have edited. It works perfectly fine except
 > for the fact that, due to the product records a hit everytime an object is
 > visited/rendered (in order to show only the links of the most used ones),
 > no undo for that object will be possible because that transaction will be
 > added on top of the regular ones, always. The common error message will say
 > "No undo was possible because a later transaction may have modified the
 > data."
The easiest way is to also undo the hit transactions.


Dieter