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

Negative adjusted weights in the natural aggregation should not be allowed.

    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

      Manual testing

      1. Create a course with multiple assessments (assign, quiz, scorm).
      2. Go to the gradebook.
      3. Make sure that the aggregation is set to Natural.
      4. Alter the weights and try to make them less than 0.
      5. Check that the weights are changed to 0.
      6. Make sure that the other grade weights are normalised to a total of 100.

      behat

      1. Run the feature file grade/tests/behat/grade_natural_normalisation.feature and check that there are no failures.
      Show
      Manual testing Create a course with multiple assessments (assign, quiz, scorm). Go to the gradebook. Make sure that the aggregation is set to Natural. Alter the weights and try to make them less than 0. Check that the weights are changed to 0. Make sure that the other grade weights are normalised to a total of 100. behat Run the feature file grade/tests/behat/grade_natural_normalisation.feature and check that there are no failures.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-46819-master
    • Story Points:
      13

      Description

      Entering negative weights when using the natural aggregation method should not be allowed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              salvetore Michael de Raadt
              Peer reviewer:
              Zachary Durber
              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:
              2 Start watching this issue

                Dates

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