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

    • Testing Instructions:
      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.
    • Workaround:
      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.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-46088-master

      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

              Assignee:
              timhunt Tim Hunt
              Reporter:
              rezaie9 Shamim Rezaie
              Peer reviewer:
              Tim Hunt
              Integrator:
              Dan Poltawski
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14