Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-8833 Random quiz questions selects questions that has been deleted (or supposed to be hidden)
  3. MDL-10790

Add [xx] Random Questions shows ALL questions of a category (deleted and not deleted)

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.6.5
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_16_STABLE

      Description

      We installed today 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 (fixed in MDL-8833)
      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

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            ghassan.geara Ghassan Geara
            Tester:
            Nobody Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: