adlnet / Moodle-mod_cmi5launch

A Moodle plugin which allows teachers to upload cmi5 packaged lessons within a Moodle Course Activity and then assign the activity to students
Apache License 2.0
5 stars 4 forks source link

TEXT column (ausgrades) with a DEFAULT defined #43

Closed mudrd8mz closed 1 month ago

mudrd8mz commented 1 month ago

While installing the plugin version 2024022015 to Moodle 4.3, I am seeing this warning:

XMLDB has detected one TEXT/BINARY column (ausgrades) with some DEFAULT defined. This type of columns cannot have any 
default value. Please fix it in source (XML and/or upgrade script) to avoid this message to be displayed.

    line 2027 of /lib/datalib.php: call to debugging()
    line 352 of /lib/xmldb/xmldb_object.php: call to xmldb_debug()
    line 263 of /lib/xmldb/xmldb_field.php: call to xmldb_object->debug()
    line 361 of /lib/xmldb/xmldb_field.php: call to xmldb_field->setDefault()
    line 546 of /lib/xmldb/xmldb_table.php: call to xmldb_field->arr2xmldb_field()
    line 276 of /lib/xmldb/xmldb_structure.php: call to xmldb_table->arr2xmldb_table()
    line 172 of /lib/xmldb/xmldb_file.php: call to xmldb_structure->arr2xmldb_structure()
    line 153 of /lib/xmldb/xmldb_file.php: call to xmldb_file->arr2xmldb_structure()
    line 349 of /lib/ddl/database_manager.php: call to xmldb_file->loadXMLStructure()
    line 370 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
    line 864 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
    line 638 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1927 of /lib/upgradelib.php: call to upgrade_plugins()
    line 726 of /admin/index.php: call to upgrade_noncore()
ADLMeganBohland commented 1 month ago

@mudrd8mz Thank you! We are on version 2024061115, and this no longer has a default value.