Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4
-
None
-
None
-
MOODLE_24_STABLE
Description
Reported by Brian Connor:
I'm getting this message when I try to upgrade after installing the algebra folder question/type/
Debug info: Errors found in XMLDB file: Some TABLES previous/next values are incorrect
Error code: ddlxmlfileerror
Stack trace:
line 349 of \lib\ddl\database_manager.php: ddl_exception thrown
line 365 of \lib\ddl\database_manager.php: call to database_manager->load_xmldb_file()
line 436 of \lib\upgradelib.php: call to database_manager->install_from_xmldb_file()
line 1544 of \lib\upgradelib.php: call to upgrade_plugins()
line 349 of \admin\index.php: call to upgrade_noncore()
The problem is that when changing the name of the plugin's table from qtype_algebra to qtype_algebra_options I forgot one place in db/install.xml and I tested upgrade but not fresh install after that change. My mistake.