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

Invalid weights appear for grade categories dropped or novalue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.8, 2.9.2, 3.0
    • Fix Version/s: 2.9.5, 3.0.3
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a grade category with one, manual grade item.
      2. Enrol a user and give them a grade in the manual grade item.
      3. Go to the user grade report and confirm that the weight for the category looks correct.
      4. Remove the grade from the manual grade item so that the category has nothing graded in it.
      5. Go back to the user grade report and check that the category weight is zero. Prior to this fix, the weight would be some positive value.
      6. Perform a similar test that involves using drop-lowest to drop the category from use in aggregation.
      Show
      Create a grade category with one, manual grade item. Enrol a user and give them a grade in the manual grade item. Go to the user grade report and confirm that the weight for the category looks correct. Remove the grade from the manual grade item so that the category has nothing graded in it. Go back to the user grade report and check that the category weight is zero. Prior to this fix, the weight would be some positive value. Perform a similar test that involves using drop-lowest to drop the category from use in aggregation.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-51715_master_invalidweights

      Description

      If a grade category is used in aggregation but subsequently has no value or is dropped (by drop lowest, for example), the aggregationweight remains non-zero and causes an invalid weight to appear in the gradebook user report.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Mar/16