Details

    • Type: Sub-task
    • Status: Closed
    • Priority: 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:

      Gliffy Diagrams

        Attachments

          Activity

          Hide
          timhunt 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
          timhunt 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
          poltawski Dan Poltawski added a comment -

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

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

          Regrading and deleting attempts worked without error in all 3 scenarios

          Show
          poltawski Dan Poltawski added a comment - Regrading and deleting attempts worked without error in all 3 scenarios
          Hide
          stronk7 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
          stronk7 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:
                Fix Release Date:
                25/Jun/12