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

grade items set as extra credit when category changed to natural from weighted mean

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Preparation

      • Enable all the aggregation methods (grade_aggregations_visible)
      • Set the default aggregation method to "natural"
      • Create a course
      • Add several grade categories of each aggregation methods
      • Add several grade items to different categories with different values (weight, extra credit)

      Moving grade items between categories

      • Make sure that moving items between categories keep remain extra credit items if the aggregation method supports it
      • Make sure that the weights are always reset, except when switching to a category supporting the same aggregation method.

      Changing aggregation method

      • Make sure that after changing an aggregation method the extra credit items remain extra credit if the aggregation supports it
      • Make sure that the weights are reset
      Show
      Preparation Enable all the aggregation methods (grade_aggregations_visible) Set the default aggregation method to "natural" Create a course Add several grade categories of each aggregation methods Add several grade items to different categories with different values (weight, extra credit) Moving grade items between categories Make sure that moving items between categories keep remain extra credit items if the aggregation method supports it Make sure that the weights are always reset, except when switching to a category supporting the same aggregation method. Changing aggregation method Make sure that after changing an aggregation method the extra credit items remain extra credit if the aggregation supports it Make sure that the weights are reset
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-50062-master
    • Sprint:
      Team '; drop tables Sprint 7, Team '; drop tables Sprint 9

      Description

      If you change category or course totals from weighted mean to natural, its possible that grade items will get set as extra credit.

      Steps -
      Site with natural and weighted mean aggregations.
      create a course
      create a single grade item "A"
      Course total aggregation should be "natural" by default
      change aggregation type to "weighted mean" and save
      Change weight of grade item "A" from 1 to 2 and save
      Change aggregation type to Natural

      you'll now see that grade item A is extra credit.

      I'll post more notes over the next day or two.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              smileyatic steve miley
              Peer reviewer:
              Marina Glancy
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Ankit Agarwal
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              40 Vote for this issue
              Watchers:
              42 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Sep/15