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

Call to a member function view_url() on null on quiz attempt

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • MDL-77582-master
    • Hide
      1. Create a quiz with, at least, one question.
      2. Login as student1 and start an attempt. Note the value of attempt=A in the URL.
      3. Login as student2 and start an attempt.
      4. Manually, edit the URL and replace the attempt=B with attempt=A.
      5. Check "This is not your attempt!" error is displayed.
      Show
      Create a quiz with, at least, one question. Login as student1 and start an attempt. Note the value of attempt=A in the URL. Login as student2 and start an attempt. Manually, edit the URL and replace the attempt=B with attempt=A. Check "This is not your attempt!" error is displayed.
    • HQ 2023 Sprint i1.2 Moppies

      Steps to reproduce:

      1. Create a quiz with, at least, one question.
      2. Login as student1 and start an attempt. Note the value of attempt=A in the URL.
      3. Login as student2 and start an attempt.
      4. Manually, edit the URL and replace the attempt=B with attempt=A.

       

      Expected result

      The "This is not your attempt!" error is displayed.

       

      Current result

      Exception - Call to a member function view_url() on null error message is displayed.

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Tim Hunt Tim Hunt
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 39 minutes
                39m

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