we have to ensure a pool is set there stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 18 Aug 2009 17:52:08 +0200
branchstable
changeset 2907 e222fac3cca3
parent 2906 677fa98659a8
child 2911 2aee4ea585cd
we have to ensure a pool is set there
server/__init__.py
--- a/server/__init__.py	Tue Aug 18 17:10:50 2009 +0200
+++ b/server/__init__.py	Tue Aug 18 17:52:08 2009 +0200
@@ -227,6 +227,7 @@
     for path in reversed(paths):
         mhandler.exec_event_script('pre%s' % event, path)
     # enter instance'schema into the database
+    mhandler.session.set_pool()
     serialize_schema(mhandler.session, schema)
     # execute cubicweb's post<event> script
     mhandler.exec_event_script('post%s' % event)