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

Redirect-related debugging message shown when doing a quiz regrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.1
    • 3.1, 3.1 regressions
    • Quiz
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-54787_master
    • Hide
      1. Log in as an admin
      2. Go to Site administration ► Development ► Debugging and set the Debug messages to DEVELOPER then click Save changes.
      3. Create a course and enrol a student.
      4. Create a quiz Q1, with at least 2 True or false questions and set the correct answer for both questions to True.
      5. Attempt the quiz as a student.
      6. Log in as a teacher and change the correct answer for the questions to False and save the changes.
      7. Under quiz administration, click Results > Grades.
      8. Click Regrade all or Dry run a full regrade
      9. After the process is complete, confirm that:
        • You see a notification confirming the success and;
        • No warnings are displayed and;
        • A continue button is present.
      Show
      Log in as an admin Go to Site administration ► Development ► Debugging and set the Debug messages to DEVELOPER then click Save changes. Create a course and enrol a student. Create a quiz Q1, with at least 2 True or false questions and set the correct answer for both questions to True. Attempt the quiz as a student. Log in as a teacher and change the correct answer for the questions to False and save the changes. Under quiz administration, click Results > Grades. Click Regrade all or Dry run a full regrade After the process is complete, confirm that : You see a notification confirming the success and; No warnings are displayed and; A continue button is present.
    • 3.2 Sprint 1

      To reproduce:

      1. Log in as an admin
      2. Go to Site administration ► Development ► Debugging and set the Debug messages to DEVELOPER then click Save changes.
      3. Create a course and enrol a student.
      4. Create a quiz Q1, with at least 2 True or false questions and set the correct answer for both questions to True.
      5. Attempt the quiz as a student.
      6. Log in as a teacher and change the correct answer for the questions to False and save the changes.
      7. Under quiz administration, click Results > Grades.
      8. Click Regrade all or Dry run a full regrade
      9. After the process the following is displayed:

        You should really redirect before you start page output
        line 902 of /lib/outputrenderers.php: call to debugging()
        line 2771 of /lib/weblib.php: call to core_renderer->redirect_message()
        line 305 of /mod/quiz/report/overview/report.php: call to redirect()
        line 279 of /mod/quiz/report/overview/report.php: call to quiz_overview_report->finish_regrade()
        line 82 of /mod/quiz/report/overview/report.php: call to quiz_overview_report->process_actions()
        line 96 of /mod/quiz/report.php: call to quiz_overview_report->display()
        

            jaked Jake Dallimore
            jpataleta Jun Pataleta
            Jun Pataleta Jun Pataleta
            Andrew Lyons Andrew Lyons
            Ryan Wyllie Ryan Wyllie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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