Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74302

Ability to Preview Quiz is Compromised in Moodle 4.0

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-74302-master
    • Hide
      1. log in as admin
      2. Create a course
      3. Go into the course and create a quiz there
        • Set the "Open the quiz" field to a day next month
      4. Add a true/false question to the quiz
      5. Go to the "Quiz" tab from the secondary nav
      6. Verify that you see the "Preview quiz" button
      7. Verify that you see "This quiz is not currently available"
      8. Click on the "Preview quiz" button
      9. Verify that you see the following text at the top of the page in an orange-like box
        • You can preview this quiz, but if this were a real attempt, you would be blocked because:
          This quiz is not currently available
      Show
      log in as admin Create a course Go into the course and create a quiz there Set the "Open the quiz" field to a day next month Add a true/false question to the quiz Go to the "Quiz" tab from the secondary nav Verify that you see the "Preview quiz" button Verify that you see "This quiz is not currently available" Click on the "Preview quiz" button Verify that you see the following text at the top of the page in an orange-like box You can preview this quiz, but if this were a real attempt, you would be blocked because: This quiz is not currently available
    • HQ Team International CIH2-221

      I posted this issue in the Moodle.org forums, and Tim Hunt agrees that I discovered a problem that is a bug.

      Apparently, the only way to preview a quiz in Moodle 4.0(dev) is to have “Teacher” role and for the quiz to have a due date in the future.  Mary Cooch’s reply to me does show a “Preview quiz” button, but my experimenting shows that she is likely login in as teacher.  If you have the elevated “manager” role, you do not see the “Preview Quiz” button.  And if you simply want to look at a quiz whose due date has expired, you can’t.

      This problem does not exist in Moodle 3.11.6+, nor do I ever recall it in Moodle.  Teachers and Managers have always been able to Preview a quiz.

      As a suggestion, I would add the “Preview” menu item under the “More” menu item, like how Moodle 3.x puts “Preview” under the “gear.” Or maybe it should be under the “Quiz” menu item or have its own spot in the menu.

      Of course, being able to Preview a quiz is a very essential task.  

      I haven’t tried experimenting with all roles and all date conditions.  I am always “manager” in my Moodle, and switched my role to Teacher as I explored what Mary was seeing.

        1. message at top of peview.png
          message at top of peview.png
          38 kB
        2. Preview Moodle 3.png
          Preview Moodle 3.png
          118 kB
        3. Preview Moodle 4.png
          Preview Moodle 4.png
          231 kB
        4. screenshot-1.png
          screenshot-1.png
          154 kB
        5. Step No. 6 & 7_Screenshot.PNG
          Step No. 6 & 7_Screenshot.PNG
          24 kB
        6. Step No. 9_Screenshot.PNG
          Step No. 9_Screenshot.PNG
          31 kB

            rezaie9 Shamim Rezaie
            rjerz Rick Jerz
            Tim Hunt Tim Hunt
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            Votes:
            4 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 5 minutes
                2d 5m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.