Course editor broken on Moodle main branch

Issue #196 resolved
Philipp Memmel created an issue

The course editor functionalities are currently broken due to the implementation of get_view_url in lib.php of format_tiles, Branch latest main. This is due to the fact that this function returns null, if option parameter navigation is set to true which leads to a fatal error in line 86 of /course/format/classes/output/local/state/section.php.

I suggest to remove the function get_view_url completely or - even better - refactor it to also implement the new "expandsection" feature of moodle for format_tiles for being able to force opening up a specific section on load.

Comments (5)

  1. Log in to comment