-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.5, 4.0.6, 4.1, 4.1.1
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-76584-401 -
During upgrade to 4.0 or later column questionid is temporarily added to mdl_question_bank_entries. The column's definition in lib/db/upgrade.php (in if ($oldversion < 2022020200.02){} ) is:
$field = new xmldb_field('questionid', XMLDB_TYPE_INTEGER, '10', null, XMLDB_TYPE_INTEGER);
|
That last parameter should be either XMLDB_NOTNULL or null (or not included), but not XMLDB_TYPE_INTEGER.
Issue exists both with the create and the drop 47 lines later.