-
Bug
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-74269-master -
- Setup a site in Moodle 3.11 or below
- Delete category id 1 (should be named Miscellaneous)
- Upgrade to Moodle 4.0
- Confirm no errors are thrown during the upgrade
In core upgrade step 2021091100.02 from MDL-72115, the code assumes that the site will have a course ID of 1. While that will be the case for fresh installs, it is deletable. So on sites that have deleted it, they will get this error:
Notice: Trying to get property 'descriptionformat' of non-object in /var/www/other/major/lib/db/upgrade.php on line 2767
|
- Discovered while testing
-
MDLQA-16397 CLONE - Upgrade test using a big data set with many courses
- Passed
- is a regression caused by
-
MDL-72115 Rename "Miscellaneous" category to "Category 1"
- Closed