# HG changeset patch # User Sylvain Thénault # Date 1346339465 -7200 # Node ID 6151b0199bc11c24cc3d1e476f070e518e92f872 # Parent ed0fbbf507bb49ac8166679a6cd8201de3464b36 [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 diff -r ed0fbbf507bb -r 6151b0199bc1 server/checkintegrity.py --- 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()