diff -r 08003e0354a7 -r 268659907769 sobjects/notification.py --- a/sobjects/notification.py Thu Jun 11 19:07:47 2009 +0200 +++ b/sobjects/notification.py Thu Jun 11 19:10:30 2009 +0200 @@ -62,7 +62,7 @@ class RenderAndSendNotificationView(PreCommitOperation): """delay rendering of notification view until precommit""" def precommit_event(self): - if self.view.rset[0][0] in self.session.query_data('pendingeids', ()): + if self.view.rset[0][0] in self.session.transaction_data.get('pendingeids', ()): return # entity added and deleted in the same transaction self.view.render_and_send(**getattr(self, 'viewargs', {}))