-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.5.2, 4.5.3
-
None
-
MOODLE_405_STABLE
In Moodle 4.5.2, 4.5.3 (tested in our production and test instances, as well as on school.moodledemo.net), when creating a new course structure with sections containing empty subsections, duplicating such a section throws a DML exception error 'error writing to the database'.
The expected behaviour is that a teacher / course creator can create a 'template structure' of a course with sections and empty subsections, and duplicate these as often as required.
To reproduce:
- Create a new course in sections format
- Add two subsections to a section
- Duplicate this section
- Error occurs
- duplicates
-
MDL-83499 Attempting to duplicate a section with multiple subsections fails
-
- Closed
-