-
Bug
-
Resolution: Fixed
-
Critical
-
3.1.3, 3.2
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE
-
MDL-56972-master -
- Restore the attached course backup as a new course under the 'Miscellaneous' category.
- Confirm that the course restore is successful.
Error when restoring a course from our Live 3.0 server to our Dev 3.2 server. I think it may be caused by the fix in MDL-54864
Debug info: Duplicate entry '27694-moodle.city.ac.uk+131031165444+24zmE8' for key 'mdl_quescate_consta_uix'
INSERT INTO mdl_question_categories (name,contextid,info,infoformat,stamp,parent,sortorder) VALUES(?,?,?,?,?,?,?)
[array (
0 => 'Default for RD3024 Preparation for Clinical Practice - Principles and practice of IV contrast injection MCT (Resit Exam)',
1 => 27694,
2 => 'The default category for questions shared in context \'RD3024 Preparation for Clinical Practice - Principles and practice of IV contrast injection MCT (Resit Exam)\'.',
3 => '0',
4 => 'moodle.city.ac.uk+131031165444+24zmE8',
5 => '0',
6 => '999',
)]
Error code: dmlwriteexception
- is a regression caused by
-
MDL-54864 question_category.stamp should be unique, but this is not enforced
- Closed