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

Prevent start/continue attempt buttons to be shown with JS disabled for "protected" quizzes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.6, 3.3.3
    • 3.1.5, 3.2.2, 3.3
    • Quiz
    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-58699-master
    • Hide

       Login as a teacher, edit the settings for the quiz and set the browser security to 'Full screen pop-up with some JavaScript security'.
      2. Login as a student and attempt the quiz.
      3. Check that the quiz starts immediately and appears in a full screen popup window that covers all the other windows and has no navigation controls.
      4. Check that you are unable to copy and paste in the popup window.
      5. Disable JavaScript in the web-browser and reload the page. Check that the "Attempt quiz now" button doesn't appear.

       

      Show
       Login as a teacher, edit the settings for the quiz and set the browser security to 'Full screen pop-up with some JavaScript security'. 2. Login as a student and attempt the quiz. 3. Check that the quiz starts immediately and appears in a full screen popup window that covers all the other windows and has no navigation controls. 4. Check that you are unable to copy and paste in the popup window. 5. Disable JavaScript in the web-browser and reload the page. Check that the "Attempt quiz now" button doesn't appear.  

      One of the features of the "Full screen pop-up with some JavaScript security" setting is that, with JS disabled in the browser, the buttons available to start and continue an attempt are not show and, instead a "Javascript must be enabled to continue!" message is shown.

      And that exact feature has been covered by a test always (see point #4 of MDLQA-10502 for Moodle 3.3).

      But it seems that, with the changes performed by MDL-46091 this feature stopped working (since Moodle 3.1) and now it's perfectly possible to start/continue an attempt with JS disabled, so it accepts copy/paste... rendering the "Full screen pop-up with some JavaScript security" setting useless.

      So this issue is about to make that functionality back to work and avoid showing those start/continue buttons to anybody with JS disabled when the setting is enabled.

            damyon Damyon Wiese
            stronk7 Eloy Lafuente (stronk7)
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            David Monllaó David Monllaó
            Mihail Geshoski Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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