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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.8
    • Gradebook
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • wip-MDL-46819-master
    • 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.
    • 13

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

            abgreeve Adrian Greeve
            salvetore Michael de Raadt
            Zachary Durber Zachary Durber
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.