-
Bug
-
Resolution: Fixed
-
Critical
-
2.1.1, 2.2, 2.3, 2.4
-
RH Linux 6
-
MySQL
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MDL-29598_master -
I am using Moodle 2.1.1 on RH6 with mysql.
Whenever the default grade letters for a course are changed and I duplicate any course content I get "Error writing to database".
In the log it shows:
Duplicate entry '209685-0.00000-F' for key 'mdl_gradlett_conlowlet_uix'
|
INSERT INTO mdl_grade_letters (lowerboundary,letter,contextid) VALUES(?,?,?)
|
[array (
|
0 => '0.00000',
|
1 => 'F',
|
2 => '209685',
|
)]
|
What can I do to correct this problem?. Is there a patch available ?
Thanks, Jose