[ZODB-Dev] Adding comments to transactions?

Andreas Jung andreas@andreas-jung.com
Wed, 12 Feb 2003 14:09:56 +0100


That's excellent. My application is very well designed ;-) so note() will
work fine.

Andreas

--On Mittwoch, 12. Februar 2003 07:57 -0500 Chris McDonough 
<chrism@zope.com> wrote:

> This works:
>
> get_transaction().note('node XXX inserted')
>
> ... but sometimes it can be difficult to figure out where in the code to
> do this, as one transaction might do several things (and thus get
> several notes, and only the last note will show up for the transaction).
>
> On Wed, 2003-02-12 at 02:15, Andreas Jung wrote:
>> I have an application where I want to use the Zopes Undo functionality
>> to give the user a list of actions that can be undone. However I need
>> to attach a comment like "node XX inserted" to each transaction
>> (presenting URLs like in the ZMI is not very much useful for the
>> application user). Is there a way to do this?
>>
>> -aj
>>
>>
>>
>> _______________________________________________
>> For more information about ZODB, see the ZODB Wiki:
>> http://www.zope.org/Wikis/ZODB/
>>
>> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
>> http://mail.zope.org/mailman/listinfo/zodb-dev
>
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev




----
    ---------------------------------------------------------------------
   -    Andreas Jung                     http://www.andreas-jung.com   -
  -   EMail: andreas at andreas-jung.com                              -
   -            "Life is too short to (re)write parsers"               -
    ---------------------------------------------------------------------