sensei icon indicating copy to clipboard operation
sensei copied to clipboard

Lesson: Duplicating a lesson with a quiz ends up overriding the original lesson's quiz

Open jonathanbossenger opened this issue 1 year ago • 0 comments

This is currently happening on Learn.WordPress.org:

  • https://github.com/WordPress/Learn/issues/2805
  • https://github.com/WordPress/Learn/issues/2253

Steps to Reproduce

  1. Create a course with two or three lessons.
  2. Create a quiz in the last lesson.
  3. Publish the lessons and the course.
  4. Browse the list of Lessons in the WP admin dashboard.
  5. Select the lesson which contains the quiz, and click Duplicate
  6. Translate the lesson and quiz content
  7. Publish the new lesson
  8. Browse to the original course and view the lesson with the quiz
  9. The translated quiz content is displayed

What I Expected

I expect to see the original quiz, not the translated one

What Happened Instead

The translated quiz "overrides" the original quiz

PHP / WordPress / Sensei LMS version

  • WordPress 6.7-alpha-58963
  • Sensei LMS Version 4.24.3

jonathanbossenger avatar Sep 02 '24 11:09 jonathanbossenger