[server] Ignore computed relations in "relations" integrity checker
authorDenis Laxalde <denis.laxalde@logilab.fr>
Mon, 06 Feb 2017 15:43:19 +0100
changeset 11953 f24b115cca74
parent 11952 9dbb0af82628
child 11954 e0d708fb20e8
[server] Ignore computed relations in "relations" integrity checker
cubicweb/server/checkintegrity.py
--- a/cubicweb/server/checkintegrity.py	Mon Feb 06 15:40:39 2017 +0100
+++ b/cubicweb/server/checkintegrity.py	Mon Feb 06 15:43:19 2017 +0100
@@ -281,7 +281,7 @@
     """
     print('Checking relations')
     for rschema in schema.relations():
-        if rschema.final or rschema.type in PURE_VIRTUAL_RTYPES:
+        if rschema.final or rschema.rule or rschema.type in PURE_VIRTUAL_RTYPES:
             continue
         if rschema.inlined:
             for subjtype in rschema.subjects():