Many modules call drupal_install_schema() during its hook_install(). But now the schema has just been installed at ./includes/module.inc: module_enable():375

This issue leads to errors when creating tables in the second drupal_install_schema() and the hook_install() fails.

Maybe, a check for schema-already-installed should be useful.

Regards

Comments

jpsoto’s picture

Priority: Normal » Critical

Since this issue prevents from loading modules, maybe priority should be critical

catch’s picture

Priority: Critical » Normal
Status: Active » Closed (works as designed)

Modules should no longer be installing their own schema, if you find a module that does, please open an issue against the module's queue.