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

Extra credit box checked by default when adding an assignment to a SWM category

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Visit a course.
      2. Visit 'Course administration' > 'Grades'.
      3. In the drop down select 'Categories and items'.
      4. Edit the course settings and set grade aggregation method to 'Weighted mean of grades'.
      5. Add two categories with the 'Aggregation' value set to 'Simple weighted mean of grades' and assign custom weights to them.
      6. Go to the course page and add an assignment specifying the 'Grade category' value as one of the ones you created.
      7. Return to the 'Categories and items' page and edit the assignment.
      8. Ensure the 'Extra credit' checkbox is not checked.
      Show
      Visit a course. Visit 'Course administration' > 'Grades'. In the drop down select 'Categories and items'. Edit the course settings and set grade aggregation method to 'Weighted mean of grades'. Add two categories with the 'Aggregation' value set to 'Simple weighted mean of grades' and assign custom weights to them. Go to the course page and add an assignment specifying the 'Grade category' value as one of the ones you created. Return to the 'Categories and items' page and edit the assignment. Ensure the 'Extra credit' checkbox is not checked.
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-48187_master
    • Sprint:
      Team Beards Sprint 6

      Description

      If you have a grade category with the aggregation method "Simple weighted mean of grades" and add assignments to it those items have the extra credit box checked by default. This seems similar to some bugs reported and resolved in the past, but not identical.

      Reproduction instructions:

      1. Set grade aggregation method for the course as "Weighted mean of grades"
      2. Add two categories with methods "Simple weighted mean of grades" and assign custom weights to them
      3. Go to the course page and add an assignment specifying one of the grade categories
      4. Return to the grade setup page and observe that assignment was added with extra credit

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              grunwajr James Grunwald
              Peer reviewer:
              Frédéric Massart
              Integrator:
              David Monllaó
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              20 Vote for this issue
              Watchers:
              20 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/15