Commit 079c0bd4 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

we have to ensure a pool is set there

--HG--
branch : stable
parent 677fa98659a8
......@@ -227,6 +227,7 @@ def initialize_schema(config, schema, mhandler, event='create'):
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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment