Steps:
- Make sure your site allows for Natural weighting only but doesn't force (if Natural is the only agg allowed and default but not forced a restored course will come in with its own agg methods)
- Backup a course with WM and/or SWM grades (in our case 2.65 and all cats were WM)
- Create a course (in our case (2.86)
- Restore the backup, merging with the created course
- View cats and items, should look like 2.65 setup (see attached)
- set course item to Natural, all category weights become zeroes and are marked as extra credit, item weights remain unchanged
- uncheck on of the categories extra credit, all cat weights go to 100
- uncheck another cat extra credit, all cat weights go to 50
- adjust a cat weight to 20, all cat weights go to 80 and the message appears at the top to indicate the weights have been adjusted to 100
Additional funkiness: - Same steps as above but uncheck extra credit for the last category, weights go wacky (see attached)
Additional: - Doesn't matter if you force Natural or not
- Restore a course from pre-2.8 with all grades SWM and no categories
- On setup screen the weight column never shows
- Change aggregation to Natural, no change
- Expected behavior – all aggregation methods should show weights, especially since Moodle previously didn't maintain accurate point counts