--- a/server/repository.py Mon Mar 23 14:28:48 2015 +0100
+++ b/server/repository.py Wed Mar 25 07:57:38 2015 +0100
@@ -1095,6 +1095,8 @@
with session.security_enabled(read=False, write=False):
eid = entity.eid
for rschema, _, role in entity.e_schema.relation_definitions():
+ if rschema.rule:
+ continue # computed relation
rtype = rschema.type
if rtype in schema.VIRTUAL_RTYPES or rtype in pendingrtypes:
continue
@@ -1123,6 +1125,8 @@
with session.security_enabled(read=False, write=False):
in_eids = ','.join([str(_e.eid) for _e in entities])
for rschema, _, role in entities[0].e_schema.relation_definitions():
+ if rschema.rule:
+ continue # computed relation
rtype = rschema.type
if rtype in schema.VIRTUAL_RTYPES or rtype in pendingrtypes:
continue