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

Gradebook calculation may timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.7.8, 2.8.6
    • 2.8 regressions, 2.8.3
    • Gradebook
    • MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-49332-master
    • 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

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

            emerrill Eric Merrill
            emerrill Eric Merrill
            Zachary Durber Zachary Durber
            David Monllaó David Monllaó
            Jetha Chan Jetha Chan
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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