--- a/hooks/notification.py Wed Jun 09 09:42:24 2010 +0200
+++ b/hooks/notification.py Wed Jun 09 09:54:35 2010 +0200
@@ -188,7 +188,7 @@
except:
# may raise an error during deletion process, for instance due to
# missing required relation
- title = '#%s' % eid
+ title = '#%s' % self.entity.eid
self._cw.transaction_data.setdefault('pendingchanges', []).append(
- ('delete_entity', (self.entity.eid, str(self.entity.e_schema), title)))
+ ('delete_entity', (self.entity.eid, self.entity.__regid__, title)))
return True