server/__init__.py
branch3.0
changeset 480 71376fda9b36
parent 0 b97547f5f1fa
child 1398 5fe84a5f7035
--- a/server/__init__.py	Tue Jan 27 13:52:50 2009 +0100
+++ b/server/__init__.py	Tue Jan 27 16:02:58 2009 +0100
@@ -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()))