-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.1, 2.3.1, 2.4
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MDL-31957-master -
-
When doing a course reset where activity completion and course completion are enabled, reset erase attempts and completion data for activities except for SCORM. For SCORM, only attempts are deleted while activity completion data is kept.
To reproduce in Moodle 2.2.1 build 20120213:
Set up
- in a site with completion and conditional subsystems enabled, create a course and enable completion tracking
- add two SCORM (say, SC1 and SC2) activity and one quiz activity (say QZ1) to the course
- for both SC1 and SC2 scorms, set completion criteria to "Student must view this activity to complete it"
- for SC2 scorm, add conditional availability "SC1 scorm must be marked complete"
- for QZ1 quiz, set completion criteria to "Student must receive a grade to complete this activity" and set conditional availability "SC2 scorm must be marked complete"
- now set course completion criteria with Aggregation: ALL and select both SC1 and SC2 scorm as well as QZ1 quiz.
- at this point you should end up with an activities sequence where a student 1) attempt SC1 and complete it, then 2) can attempt SC2 and complete it, then 3) can attempt the quiz and complete it. Once completed all three activities, student also completes the course.
Test
- access the course as student, attempt SC1, SC2 and QZ1
- access again the course as admin, or with manager/teacher role
- make sure course completion report shows student's completion for SC1, SC2, QZ1 and course.
- click on "Reset" link from Course administration (Settings block)
- for reset, select Course completion, Quiz and SCORM attempts
- reset the course
- Results: Quiz attempts deleted, SCORM attempts deleted, Course completion deleted, Quiz activity completion deleted, SCORM activity completion NOT deleted.
- Discovered while testing
-
MDL-34944 Book module should implement reset framework
- Closed