Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46576 Implement Natural aggregation
  3. MDL-47345

Category max grade is not properly updated when using extra credit

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: BACKEND
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Set up a gradebook with a sub category
        • 2 items in the sub category (leave defaults)
        • 2 items in the top category (leave defaults)
      2. Set all categories to use 'Natural weighting'
        • All the weights should have been set automatically
        • Notice the sub category max grade is 200, and both items are weighted as 50
      3. Tick the extra credit checkbox of one of the items in the sub category
      4. Click "Save changes"
      5. Confirm that the category max grade is 100
      6. Confirm that the category weight is equal to other items in the parent category
      Show
      Set up a gradebook with a sub category 2 items in the sub category (leave defaults) 2 items in the top category (leave defaults) Set all categories to use 'Natural weighting' All the weights should have been set automatically Notice the sub category max grade is 200, and both items are weighted as 50 Tick the extra credit checkbox of one of the items in the sub category Click "Save changes" Confirm that the category max grade is 100 Confirm that the category weight is equal to other items in the parent category
    • Affected Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47345-master
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 17

      Description

      1. Set up a gradebook with a sub category
        • 2 items in the sub category (leave defaults)
        • 2 items in the top category (leave defaults)
      2. Set all categories to use 'Natural weighting'
        • All the weights should have been set automatically
        • Notice the sub category max grade is 200, and both items are weighted as 50
      3. Tick the extra credit checkbox of one of the items in the sub category
      4. Click "Save changes"

      Expected

      • The category max grade is 100
      • The category weight is equal to other items in the parent category

      Actual

      • The category max grade is 200
      • The category weight is not equal to the other items in the parent category

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Adrian Greeve
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: