sensei icon indicating copy to clipboard operation
sensei copied to clipboard

WPML: Users answers not deleted after removing the user from the course and progress reset

Open merkushin opened this issue 2 years ago • 0 comments

Problem: When we remove a user from a course and the user submitted answers in the translated course, the answers are not deleted.

How to reproduce:

  1. Create a course with a lesson with a quiz and at least one question.
  2. Translate the course to another language.
  3. As a student, take the translated course on the frontend, submit your answers for the quiz.
  4. Go to the backend and remove the student from the course.
  5. As a student, open the quiz.

Expected: There is no previous state for the quiz.

Actual: You see a message on top saying X/Y question completed.

Context: https://github.com/Automattic/sensei/pull/7492#pullrequestreview-1978629779

merkushin avatar Apr 10 '24 03:04 merkushin