-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5.5, 5.0.1
core_courseformat\output\local\content\sectionselector::get_section_url() does not handle `course_get_url()` returning a null value.
This appears to be an oversight since `course_get_url()` explicitly states that it can return a null when navigation is set to true, which is the case in this call.
The change causing this was introduced in MDL-82490 Classic theme section selector should display delegated section in the correct order
We are hitting errors related to this every time we add a new activity in one of our custom course formats, where null is being returned by `course_get_url()`, this has not been a problem in Moodle 4.3 or below.