Moodle 3.1.7 (Build: 20170710)
We had an issue where some students were deleted in Active Directory, thus removing them from Moodle. No problem, we restored their accounts and for 90% of them everything is like nothing ever happened. However, we have about a dozen students who were manually enrolled into their class via a cohort, and although they have been readded to the cohort, none of their grade items, assignments, feedbacks, etc are showing as we would have expected.
Usually when a user is removed an re-added to Moodle, it puts back into place all of their work and grades, but for these students in the cohort, that didn't happen and I can't figure out why. I went to a server backup and was able to recover the missing information manually, but that has been time intensive and will cause me to have the restored Moodle data up on a running VM at least for the next year (in case someone complains so that we can pull the original data)
Am I overlooking something obvious here about how cohorts affect student enrollments, or why these students' work was retrieved like it was for the other 90%?
thanks!!