-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.2
-
HQ 2023 Planning i2 Moppies
When resetting the data of a given course via /course/reset.php, the information about which users have already viewed certain modules is not deleted. I.e. the data in course_modules_viewed is still present after reset.
This can result in weird behavior when requiring "viewing" of a certain activity for further progress, etc.
How to Reproduce:
- Create a new course with a Page activity "one" that has completion tracking activated and is marked as completed on view. Create another activity "two" which can only be accessed if "one" is marked completed.
- View the activity with a test user. Will show marked as completed successfully. "two" is accessible.
- Reset course as admin
- Check again with test user. Will show Done: View for "one" but activity is not marked as completed, thus preventing progressing to next one ("two").