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

Text editors in quizzes are disabled for students when quiz security is set to open the quiz in a new window using javascript

    XMLWordPrintable

Details

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-46088-master
    • Hide

      Use a more secure solution, like http://www.safeexambrowser.org/news_en.html, rather than the JavaScript hack.

      Show
      Use a more secure solution, like http://www.safeexambrowser.org/news_en.html , rather than the JavaScript hack.
    • Hide
      1. Create a quiz with "Browser security" to "Full screen pop-up with some JavaScript security"
      2. add an essay question.
      3. As a student, start an attempt at the quiz. (A teacher preview is not enough.)
      4. Ensure that you can click to focus the editor, and then type into it.

      Please also test other actions with mouse and keyboard for interacting with the editor, however, the above is the only thing I could find that was broken before the bug fix.

      Show
      Create a quiz with "Browser security" to "Full screen pop-up with some JavaScript security" add an essay question. As a student, start an attempt at the quiz. (A teacher preview is not enough.) Ensure that you can click to focus the editor, and then type into it. Please also test other actions with mouse and keyboard for interacting with the editor, however, the above is the only thing I could find that was broken before the bug fix.

    Description

      How to reproduce the bug:

      1. Create a quiz.
      2. Set the "Browser security" to "Full screen pop-up with some JavaScript security"
      3. add an essay question to the quiz.
      4. try to attempt the quiz using a student account. Do not preview the quiz as this does not demonstrate the bug.
      5. As you see the student can not type anything in the editor.

      I have tested this using Atto, Firefox, demo.moodle.net

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              rezaie9 Shamim Rezaie
              Tim Hunt Tim Hunt
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14