check we're not deleting the relation before checking its cardinality...
--- a/server/hooks.py Thu Nov 19 19:50:36 2009 +0100
+++ b/server/hooks.py Fri Nov 20 18:11:14 2009 +0100
@@ -277,6 +277,8 @@
# recheck pending eids
if self.eid in self.session.transaction_data.get('pendingeids', ()):
return
+ if self.rtype in self.session.transaction_data.get('pendingrtypes', ()):
+ return
if self.session.unsafe_execute(*self._rql()).rowcount < 1:
etype = self.session.describe(self.eid)[0]
_ = self.session._