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

Calculated weights do not ignore the items with the grade type none

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Restore the backup attached to this issue
      2. Navigate to the course and check the weights of the categories
        • They are all automatic and the weights should be pretty straightforward
      3. Edit the manual item "Assignment 5" and set it to 'Text'
        • make sure you cannot change the weight, weightoverride or extra credit fields
        • Once saved, make sure the column weight is empty for that item
      4. Re-confirm that the weights are correct.
      Show
      Restore the backup attached to this issue Navigate to the course and check the weights of the categories They are all automatic and the weights should be pretty straightforward Edit the manual item "Assignment 5" and set it to 'Text' make sure you cannot change the weight, weightoverride or extra credit fields Once saved, make sure the column weight is empty for that item Re-confirm that the weights are correct.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47681-master

      Description

      Pretty strange to reproduce, but the backup file attached demonstrates the problem. Basically there is a glossary with no ratings enable and a grade type of none, but the grade type still has a weight of 20, causing all the weights to be inaccurate.

      We need to prevent the grade type none from interfering with the weights.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Dave Cooper
              Integrator:
              Dan Poltawski
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14