[c-c db-check] don't skip is/is_instance_of mandatory relation to avoid telling two opposite messages when the relation is missing. Closes #2465659
--- a/server/checkintegrity.py Thu Aug 23 11:19:44 2012 +0200
+++ b/server/checkintegrity.py Thu Aug 30 17:11:05 2012 +0200
@@ -317,7 +317,7 @@
print 'Checking mandatory relations'
msg = '%s #%s is missing mandatory %s relation %s (autofix will delete the entity)'
for rschema in schema.relations():
- if rschema.final or rschema.type in PURE_VIRTUAL_RTYPES:
+ if rschema.final or rschema in PURE_VIRTUAL_RTYPES or rschema in ('is', 'is_instance_of'):
continue
smandatory = set()
omandatory = set()