Merging heads of old, closed branch 3.0
authorArthur Lutz <arthur.lutz@logilab.fr>
Thu, 04 Apr 2019 13:45:23 +0200
branch3.0
changeset 12558 29291282facc
parent 2029 9c316aedb90c (diff)
parent 2028 b2b787595c5c (current diff)
child 12559 be0a8b491f2a
Merging heads of old, closed branch
--- a/server/__init__.py	Wed Jun 03 19:45:46 2009 +0200
+++ b/server/__init__.py	Thu Apr 04 13:45:23 2019 +0200
@@ -113,6 +113,8 @@
     for eid, etype in needisfix:
         handler.session.unsafe_execute('SET X is E WHERE X eid %(x)s, E name %(name)s',
                                        {'x': eid, 'name': etype}, 'x')
+        handler.session.unsafe_execute('SET X is_instance_of E WHERE X eid %(x)s, E name %(name)s',
+                                       {'x': eid, 'name': etype}, 'x')
     # insert versions
     handler.cmd_add_entity('EProperty', pkey=u'system.version.cubicweb',
                            value=unicode(config.cubicweb_version()))