sensei icon indicating copy to clipboard operation
sensei copied to clipboard

Quiz: Questions shown on the editor does not match questions rendered on the frontend.

Open dadish opened this issue 4 years ago • 1 comments

Steps to Reproduce

  1. Create a user with Teacher role.
  2. Login as a teacher
  3. Create a question and add it to category "A".
  4. Create a lesson with a quiz and add "Category Question(s)". Set the questions category to "A".
  5. Login as an administrator.
  6. Create a question and add it to category "A".
  7. Got to the lesson with a quiz created at step 3. Select the added Category Question(s) and increase the "Number of Questions" to 2 in the block settings. Save.
  8. Visit the quiz page.

What I Expected

To see two questions as promised on the quiz editor.

What Happened Instead

Seeing only one question.

PHP / WordPress / Sensei LMS version

PHP: 7.3.5 WordPress: 5.8.2 Sensei LMS: 3.14.0

Browser / OS version

Browser: Firefox 95.0.1 (64-bit OS: MacOS 11.6.2 (20G314)

Screenshot / Video

Editor

Screen Shot 2021-12-21 at 2 42 23 PM

Frontend

Screen Shot 2021-12-21 at 2 43 04 PM

Context / Source

  • https://wordpress.org/support/topic/not-all-questions-displaying/
  • This happens because Category Question(s) render only the questions owned by the original creator of the Quiz.

dadish avatar Dec 21 '21 10:12 dadish

https://wordpress.org/support/topic/quiz-with-random-question-order-stuck-only-loads-part-of-the-questions/

jinnypark avatar Oct 30 '25 18:10 jinnypark