Moodle

Random quiz questions selects questions that has been deleted (or supposed to be hidden)

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.8
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE

Description

The situation is this:

You have a pool of questions. You place a random question from this pool as well as other questions on a quiz. A student takes the quiz. You then decide to delete one question from the pool. The quiz may still choose the question you deleted because at this point, Moodle does not delete questions, but flags them as hidden. This is a bug in Moodle 1.5+ but we just tested this on 1.8 beta and it is still a problem in 1.8

Issue Links

Activity

Hide
Tim Hunt added a comment -

Please search to see if a bug has alreay been reported, before filing a new one.

Show
Tim Hunt added a comment - Please search to see if a bug has alreay been reported, before filing a new one.
Hide
Tim Hunt added a comment -

I think I have checked in the correct fix, but I don't have an installation of Moodle 1.5 I can test this on. Please can you upgrade to 1.5.4+ and confirm I have not broken anything. Thanks, Tim.

Show
Tim Hunt added a comment - I think I have checked in the correct fix, but I don't have an installation of Moodle 1.5 I can test this on. Please can you upgrade to 1.5.4+ and confirm I have not broken anything. Thanks, Tim.
Hide
Wen Hao Chuang added a comment -

Hi Tim did you check in the correct fix to version 1.5 too? Yes we are currently running 1.5.4+ and we could help test this fix to see if it broken anything. Please contact with me by enwen@sfsu.edu if possible, thanks!

Show
Wen Hao Chuang added a comment - Hi Tim did you check in the correct fix to version 1.5 too? Yes we are currently running 1.5.4+ and we could help test this fix to see if it broken anything. Please contact with me by enwen@sfsu.edu if possible, thanks!
Hide
Tim Hunt added a comment -

If you look at the linked bug MDL-8177, that shows that the fix was checked in to 1.5.4+ too.

Show
Tim Hunt added a comment - If you look at the linked bug MDL-8177, that shows that the fix was checked in to 1.5.4+ too.
Hide
Ghassan Geara added a comment -

we faced this bug with a quiz of 350 students yesterday. it's very critical for us to get a fix. We're using 1.6.4
MDL-8177 says it is fixed for 1.6.5
Any idea when 1.6.5 will be released? or how to fix it immediately in our version?

Show
Ghassan Geara added a comment - we faced this bug with a quiz of 350 students yesterday. it's very critical for us to get a fix. We're using 1.6.4 MDL-8177 says it is fixed for 1.6.5 Any idea when 1.6.5 will be released? or how to fix it immediately in our version?
Hide
Ghassan Geara added a comment -

Hi Tim,

We installed the latest 1.6.5 and are testing it.

Scenario: You have a pool of questions. You place a random question from this pool as well as other questions on a quiz. A student takes the quiz. You then decide to delete one question from the pool.

Result:
1. The quiz does NOT choose the question you deleted (OK)
2. The Problem is with the "ADD XX Random Questions", which still display a total of 8 questions in my category, although 5 out of 8 are questions "deleted". If I choose "ADD 5 RANDOM QUESTIONS", the quiz will show in Preview "The number of random questions required is more than are still available in the category!" for the 5 missing random questions.

Solution:

To make "ADD XX RANDOM QUESTIONS" show in the drop-down menu only the VALID undeleted questions only.

Currently, the drop-down menu shows the TOTAL number of questions (deleted and not deleted) in the category

Show
Ghassan Geara added a comment - Hi Tim, We installed the latest 1.6.5 and are testing it. Scenario: You have a pool of questions. You place a random question from this pool as well as other questions on a quiz. A student takes the quiz. You then decide to delete one question from the pool. Result: 1. The quiz does NOT choose the question you deleted (OK) 2. The Problem is with the "ADD XX Random Questions", which still display a total of 8 questions in my category, although 5 out of 8 are questions "deleted". If I choose "ADD 5 RANDOM QUESTIONS", the quiz will show in Preview "The number of random questions required is more than are still available in the category!" for the 5 missing random questions. Solution: To make "ADD XX RANDOM QUESTIONS" show in the drop-down menu only the VALID undeleted questions only. Currently, the drop-down menu shows the TOTAL number of questions (deleted and not deleted) in the category

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: