# HG changeset patch # User Pierre-Yves David # Date 1367862015 -7200 # Node ID c05515db2763821316d0b234dcc8f6a4f92a9477 # Parent b7f99c538cb92ffd469b56b6518d8e7fd57bcde4 [sobject] fix notification operation regression introduced in bf4003760e02 Operation use self. session. not self._cw. I'm a bit surprised that its not tested. closes ##2870077 diff -r b7f99c538cb9 -r c05515db2763 hooks/notification.py --- a/hooks/notification.py Fri May 03 16:36:42 2013 +0200 +++ b/hooks/notification.py Mon May 06 19:40:15 2013 +0200 @@ -158,7 +158,7 @@ view = session.vreg['views'].select('notif_entity_updated', session, rset=session.eid_rset(eid), row=0) - notify_on_commit(self._cw, view) + notify_on_commit(self.session, view) class EntityUpdateHook(NotificationHook):