Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Quiz
    • Labels:
      None
    • Testing Instructions:
      Hide

      0. Go to the reports for a quiz with attempts (Quiz -> Results in the navgation block).

      1. Try Regrade all in the Grades report

      2. Try to delete an attempt in the Grades report.

      3. Try to delete an attempt in the responses report.

      Show
      0. Go to the reports for a quiz with attempts (Quiz -> Results in the navgation block). 1. Try Regrade all in the Grades report 2. Try to delete an attempt in the Grades report. 3. Try to delete an attempt in the responses report.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
    • Rank (Obsolete):
      39770

      Activity

      Hide
      Tim Hunt added a comment -

      The actual problem is

      Notice: Undefined variable: cm in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 289
      Notice: Trying to get property of non-object in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 319
      Notice: Trying to get property of non-object in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 320
      Notice: Undefined variable: options in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 290
      Fatal error: Call to a member function get_url() on a non-object in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 290
      

      When trying to delete an attempt in the overview or responses report.

      Show
      Tim Hunt added a comment - The actual problem is Notice: Undefined variable: cm in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 289 Notice: Trying to get property of non-object in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 319 Notice: Trying to get property of non-object in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 320 Notice: Undefined variable: options in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 290 Fatal error: Call to a member function get_url() on a non-object in /home/andrew/Desktop/code/moodle/int/master/mod/quiz/report/attemptsreport.php on line 290 When trying to delete an attempt in the overview or responses report.
      Hide
      Dan Poltawski added a comment -

      Thanks for the quick fix Tim - i've integrated this now

      Show
      Dan Poltawski added a comment - Thanks for the quick fix Tim - i've integrated this now
      Hide
      Dan Poltawski added a comment -

      Regrading and deleting attempts worked without error in all 3 scenarios

      Show
      Dan Poltawski added a comment - Regrading and deleting attempts worked without error in all 3 scenarios
      Hide
      Eloy Lafuente (stronk7) added a comment -
      UPDATE tracker_issues
         SET status = 'Closed',
            comment = 'Thanks!'
      WHEN participants = 'Did a gorgeous work'
      

      This landed upstream some hours ago (some - me - developer fell slept in the sofa yesterday before spamming this).

      Show
      Eloy Lafuente (stronk7) added a comment - UPDATE tracker_issues SET status = 'Closed', comment = 'Thanks!' WHEN participants = 'Did a gorgeous work' This landed upstream some hours ago (some - me - developer fell slept in the sofa yesterday before spamming this).

        People

        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: