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

Recalculating final grades is sometimes necessarily slow

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Misc tests
      1. Verify that each of the gradebook reports have the correct breadcrumbs when viewing and after any sub-selections have been made (e.g. selecting a user in the singleview report)
      Small course
      1. Create a new course
      2. Enrol 25 users into it
      3. Create 4 assignments
      4. Enter an item into the gradebook for each of the users, and each assignment - but only one.
        You may wish to use the bulk grade interface. Ultimately we want no more than 100 grade_grades in the database for this course.
      5. View the various grade reports
        1. Confirm that the progress bar is not displayed at any time
      6. Open the gradebook setup
      7. Override the weights for all four grades and set them each to 20
      8. Save changes
        1. Confirm that no progress bar was displayed
        2. *Confirm that a message was shown informing the user that their grades weights were adjusted'
      Larger course

      Note: The progress bar should be displayed at various times - e.g. any time after you make any changes to either the gradebook structure, or to grades.

      1. Create a new course
      2. Enrol 200 users into it
      3. Create 10 assignments and several categories
      4. Insert grade data for each assignment
      5. View the various grade reports
      6. Open the gradebook setup
      7. Override several of the grade weights such that they add up to > 100
      8. Save changes
        1. Confirm that a progress bar was displayed
      9. Follow the Continue button
        1. *Confirm that a message was shown informing the user that their grades weights were adjusted'

      Note: There is a patch on MDL-47911 for generating a large gradebook like this.

      Show
      Misc tests Verify that each of the gradebook reports have the correct breadcrumbs when viewing and after any sub-selections have been made (e.g. selecting a user in the singleview report) Small course Create a new course Enrol 25 users into it Create 4 assignments Enter an item into the gradebook for each of the users, and each assignment - but only one. You may wish to use the bulk grade interface. Ultimately we want no more than 100 grade_grades in the database for this course. View the various grade reports Confirm that the progress bar is not displayed at any time Open the gradebook setup Override the weights for all four grades and set them each to 20 Save changes Confirm that no progress bar was displayed *Confirm that a message was shown informing the user that their grades weights were adjusted' Larger course Note: The progress bar should be displayed at various times - e.g. any time after you make any changes to either the gradebook structure, or to grades. Create a new course Enrol 200 users into it Create 10 assignments and several categories Insert grade data for each assignment View the various grade reports Open the gradebook setup Override several of the grade weights such that they add up to > 100 Save changes Confirm that a progress bar was displayed Follow the Continue button *Confirm that a message was shown informing the user that their grades weights were adjusted' Note: There is a patch on MDL-47911 for generating a large gradebook like this.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-49324-master
    • Sprint:
      Team ';drop tables Sprint 4, Team '; drop tables Sprint 5, 3.1 Sprint 4
    • Issue size:
      Large

      Description

      When it is detected that a recalculation is required, we should show a progress bar and continue button.

      If a re-grade is already in progress and another user access a grade report, we may be able to also show a progress bar, even though the re-grade is occuring in another progress (by counting the grade items flagged for regrading).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16