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

Gradebook calculation may timeout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8 regressions, 2.8.3
    • Fix Version/s: 2.7.8, 2.8.6
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Apply the patch file "0001-Testing-MDL-49332.patch"
      2. Generate a XL sized test course (it will not take hours because I commented out the files/assignments/forum posts etc).
        #Go to the grader report page. Once it loads, go into the database and find the course grade_item for the course, set needsupdate to 1.
      3. Reload the grader report and confirm it finishes
        #Revert this branch, go into the database and find the course grade_item for the course, set needsupdate to 1.
        #Reload the grader report and confirm it fails to load

      Note: that if you have your default php max_exectution_time raised, it may not fail even with this ticket not applied

      Show
      Apply the patch file "0001-Testing- MDL-49332 .patch" Generate a XL sized test course (it will not take hours because I commented out the files/assignments/forum posts etc). #Go to the grader report page. Once it loads, go into the database and find the course grade_item for the course, set needsupdate to 1. Reload the grader report and confirm it finishes #Revert this branch, go into the database and find the course grade_item for the course, set needsupdate to 1. #Reload the grader report and confirm it fails to load Note: that if you have your default php max_exectution_time raised, it may not fail even with this ticket not applied
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-49332-master

      Description

      The new gradebook recalculation is much more intensive, and sometimes may cause a 30sec timeout, making it so you can never finish.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15