Блок формальных языков опять вылетает при установке вместе с Moodle
Issue #230
closed
Originally reported on Google Code with ID 230
Причина в последних изменениях - вот стек:
line 423 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 1005 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1226 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
line 1177 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
line 183 of /blocks/formal_langs/block_formal_langs.php: call to moodle_database->get_records()
line 81 of /blocks/formal_langs/settingslib.php: call to block_formal_langs::sync_contexts_with_config()
line 6456 of /lib/adminlib.php: call to block_formal_langs_admin_setting_visible_languages->write_setting()
line 6442 of /lib/adminlib.php: call to admin_apply_default_settings()
line 6442 of /lib/adminlib.php: call to admin_apply_default_settings()
line 6442 of /lib/adminlib.php: call to admin_apply_default_settings()
line 1496 of /lib/upgradelib.php: call to admin_apply_default_settings()
line 203 of /admin/index.php: call to install_core()
Похоже что block_formal_langs::sync_contexts_with_config() опять вызывает преждевременное
обращение к БД, когда таблиц еще нет.
Reported by oasychev
on 2013-09-24 20:58:21
Comments (2)
-
Account Deleted -
reporter Вот это правильная реакция на ситуацию, когда проблема выливается в фаталку, а решается 3-5 строчками :) Всегда бы так оперативно...
Reported by
oasychev
on 2013-09-25 18:53:12 - Status changed:Done
- Log in to comment
Reported by
mamontov.dp
on 2013-09-25 13:34:20 - Status changed:Fixed