Hello guys
After updating Moodle 3.7.1, the qtype_ordering plugin is causing the "writing error in the database", preventing the language from loading for customization.
I tested in a clean Moodle 3.7.1 installation. With the plugin gives error, without the plugin does not give error.
This is the debbuging report:
Debug info: Duplicate entry 'pt_br-473-numberingstyleABC' for key 'mdl3g_toolcust_lancomstr_uix'
INSERT INTO mdl3g_tool_customlang (lang,componentid,stringid,original,master,timemodified,outdated,local,timecustomized) VALUES(?,?,?,?,?,?,?,?,?)
[array (
0 => 'pt_br',
1 => '473',
2 => 'numberingstyleABC',
3 => 'A., B., C., ...',
4 => 'A., B., C., ...',
5 => 1563364781,
6 => 0,
7 => NULL,
8 => NULL,
)]
Error code: dmlwriteexception
Stack trace:
line 489 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 1329 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1375 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
line 191 of /admin/tool/customlang/locallib.php: call to mysqli_native_moodle_database->insert_record()
line 60 of /admin/tool/customlang/index.php: call to tool_customlang_utils::checkout()
Could anyone help?
Thank you.
JR.Cristofani