[migration] sync_schema_props_perms should skip computed relations. Closes #5147796
--- a/server/migractions.py Sun Mar 22 19:05:19 2015 +0100
+++ b/server/migractions.py Mon Mar 23 14:28:48 2015 +0100
@@ -524,6 +524,9 @@
subjtypes, objtypes = targettypes, [etype]
self._synchronize_rschema(rschema, syncrdefs=False,
syncprops=syncprops, syncperms=syncperms)
+ if rschema.rule: # rdef for computed rtype are infered hence should not be
+ # synchronized
+ continue
reporschema = self.repo.schema.rschema(rschema)
for subj in subjtypes:
for obj in objtypes: