Application Form - 1.3.3 'CHAR NOT NULL column' error
luisdev
居住地: South Africa
投稿数: 22
After installing 1.3.3 of the mod_apply module on my Moodle 3.5.2 (Build: 20180910) test site I got this error message:
XMLDB has detected one CHAR NOT NULL column (date_format) with '' (empty string) as DEFAULT value. This type of columns must have one meaningful DEFAULT declared or none (NULL). XMLDB have fixed it automatically changing it to none (NULL). The process will continue ok and proper defaults will be created accordingly with each DB requirements. Please fix it in source (XML and/or upgrade script) to avoid this message to be displayed.
• line 1733 of \lib\datalib.php: call to debugging()
• line 352 of \lib\xmldb\xmldb_object.php: call to xmldb_debug()
• line 255 of \lib\xmldb\xmldb_field.php: call to xmldb_object->debug()
• line 131 of \lib\xmldb\xmldb_field.php: call to xmldb_field->setDefault()
• line 103 of \lib\xmldb\xmldb_field.php: call to xmldb_field->set_attributes()
• line 87 of \mod\apply\db\upgrade.php: call to xmldb_field->__construct()
• line 806 of \lib\upgradelib.php: call to xmldb_apply_upgrade()
• line 512 of \lib\upgradelib.php: call to upgrade_plugins_modules()
• line 1857 of \lib\upgradelib.php: call to upgrade_plugins()
• line 694 of \admin\index.php: call to upgrade_noncore()
2018100300: Success (0.21 seconds)
Success (0.66 seconds)
Does this mean there are any functionality regressions?
XMLDB has detected one CHAR NOT NULL column (date_format) with '' (empty string) as DEFAULT value. This type of columns must have one meaningful DEFAULT declared or none (NULL). XMLDB have fixed it automatically changing it to none (NULL). The process will continue ok and proper defaults will be created accordingly with each DB requirements. Please fix it in source (XML and/or upgrade script) to avoid this message to be displayed.
• line 1733 of \lib\datalib.php: call to debugging()
• line 352 of \lib\xmldb\xmldb_object.php: call to xmldb_debug()
• line 255 of \lib\xmldb\xmldb_field.php: call to xmldb_object->debug()
• line 131 of \lib\xmldb\xmldb_field.php: call to xmldb_field->setDefault()
• line 103 of \lib\xmldb\xmldb_field.php: call to xmldb_field->set_attributes()
• line 87 of \mod\apply\db\upgrade.php: call to xmldb_field->__construct()
• line 806 of \lib\upgradelib.php: call to xmldb_apply_upgrade()
• line 512 of \lib\upgradelib.php: call to upgrade_plugins_modules()
• line 1857 of \lib\upgradelib.php: call to upgrade_plugins()
• line 694 of \admin\index.php: call to upgrade_noncore()
2018100300: Success (0.21 seconds)
Success (0.66 seconds)
Does this mean there are any functionality regressions?
投票数:62
平均点:6.13
投稿ツリー
-
Application Form - 1.3.3 'CHAR NOT NULL column' error
(luisdev, 2018-10-8 21:20)
- Re: Application Form - 1.3.3 'CHAR NOT NULL column' error (iseki, 2018-10-10 15:30)
- Re: Application Form - 1.3.3 'CHAR NOT NULL column' error (iseki, 2018-10-10 17:20)
- Re: Application Form - 1.3.3 'CHAR NOT NULL column' error (luisdev, 2018-10-10 19:28)
- Re: Application Form - 1.3.3 'CHAR NOT NULL column' error (iseki, 2018-10-11 9:53)