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

Timer Issue - Conflict between Classic Theme and Quiz Setting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.4, 3.6.3, 3.7, 3.8
    • Fix Version/s: 3.7.3
    • Component/s: Quiz, Themes
    • Testing Instructions:
      Hide
      1. Login as admin
      2. Create a course, c1
      3. Create a quiz with name quiz1
      4. In the quiz settings page expand 'Extra restrictions on attempts' and click 'show more'
      5. In browser security select 'Full screen popup..'
      6. Add one simple question to the quiz, for example true false
      7. Navigate to Site Administration > Appearance > Select theme
      8. Choose the classic theme
      9. Navigate back to course c1
      10. Attempt the quiz
      11. Verify you see the "Quiz navigation" block left of the main content area
      Show
      Login as admin Create a course, c1 Create a quiz with name quiz1 In the quiz settings page expand 'Extra restrictions on attempts' and click 'show more' In browser security select 'Full screen popup..' Add one simple question to the quiz, for example true false Navigate to Site Administration > Appearance > Select theme Choose the classic theme Navigate back to course c1 Attempt the quiz Verify you see the "Quiz navigation" block left of the main content area
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-66548-master

      Description

      When using Classic theme, in the quiz settings under the extra restrictions on attempts, if you set the browser security drop down to full screen pop-up with some JavaScript security, the timer doesn't display during the quiz.

      If you set the browser security drop down to none, it works fine.

      Only happens using Classic Theme.
      It seems to be a conflict with the Classic theme and the quiz setting.

      To reproduce

      Access a course using the Classic Theme

      Under Course Administration click Turn Editing on
      Click on Add Activity or Resource
      Click Quiz, then Add
      Name your quiz
      Under Timing set enable Time Limit and set to whatever time
      Under Extra restrictions on attempts click Show more....
      Set Browser security to Full screen pop-up with some JavaScript security
      Click Save and Display
      Edit quiz to manually add a question
      For the sake of this scenario, select True or False
      Fill in mandatory sections
      Click Save changes when done
      Click preview, then start attempt
      Timer does not display on the Quiz Navigation block
      Click on Edit Settings under Quiz Administration
      Set the browser security to none
      Click Save and Display
      Click preview, then start attempt
      Timer displays in Quiz Navigation Block

        Attachments

        1. after-patch.png
          after-patch.png
          511 kB
        2. before-patch.png
          before-patch.png
          422 kB
        3. MDL-66548.png
          MDL-66548.png
          58 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 10 minutes
                1h 10m