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

Attempting a quiz triggers the event \mod_quiz\event\attempt_started twice

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-45803_master
    • Hide
      Test 1
      1. Run the unit tests in mod/quiz/tests/events_test.php and ensure it all passes.
      Test 2
      1. Create a quiz and add at least one question.
      2. Log in as a student.
      3. View the quiz and click 'Attempt quiz now'.
      4. Visit <yoursite>/report/log/index.php and view the 'Site logs'.
      5. Check that there is only one log record 'Quiz attempt started'.
      Show
      Test 1 Run the unit tests in mod/quiz/tests/events_test.php and ensure it all passes. Test 2 Create a quiz and add at least one question. Log in as a student. View the quiz and click 'Attempt quiz now'. Visit <yoursite>/report/log/index.php and view the 'Site logs'. Check that there is only one log record 'Quiz attempt started'.

      1. Create a quiz and add at least one question.
      2. Log in as a student.
      3. View the quiz and click 'Attempt quiz now'.
      4. Visit <yoursite>/report/log/index.php and view the 'Site logs'.
      5. Notice that there are two logs reading 'Quiz attempt started'.

            markn Mark Nelson
            markn Mark Nelson
            Tim Hunt Tim Hunt
            Damyon Wiese Damyon Wiese
            Jetha Chan Jetha Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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