[Zope] TransientObjectContainer: delNotificationFunction's and Transactions

Chris McDonough chrism@zope.com
28 Apr 2003 09:49:25 -0400


This is not desired behavior.  It'd be good if you could open a
collector issue so we can check it out....  Thanks!

On Mon, 2003-04-28 at 04:48, Stefan Bund wrote:
> 
> Hello all,
> 
> I just found, that Transactions started in the
> delNotificationFunction's of TransientObjectContainers (in my case a
> SQL command to purge a transient object from an SQL database) are 
> never commited but seem to be automatically aborted. 
> 
> After adding a call do get_transaction().commit() (which is not
> directly callable from a PythonScript ... Grmpf ... why not?)
> everything works.
> 
> I just want to ask, whether this is desired behavior or if I should
> open a collector issue against TransientObjectContainer?
> 
> Stefan.
> 
> -- 
> Stefan Bund, Dipl.Phys.                   a   r   T   e  c      _____
> Entwicklung, Administration               visual solutions     / |  /|
>                                                               |----/_|
> sbund@artec-berlin.com                                        | /  | /
> Fon: 030 / 884684-0 | Fax: 030 / 884684-15                    |/___|/
> 
> Gottfried-von-Cramm-Weg 35-37 | Berlin | 14193 | http://www.artec-berlin.com
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )