backport stable branch changesets
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 27 Jan 2009 16:03:29 +0100
changeset 481 06e4307507c6
parent 479 ac5c9442b1fd (current diff)
parent 480 71376fda9b36 (diff)
child 486 831d5179cb3a
backport stable branch changesets
--- a/server/__init__.py	Tue Jan 27 14:03:17 2009 +0100
+++ b/server/__init__.py	Tue Jan 27 16:03:29 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()))