-
Improvement
-
Resolution: Fixed
-
Major
-
2.7.6, 2.8.4
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_30_STABLE
-
MDL-49434-master -
line 507 of /availability/classes/tree.php: call to moodle_page->get_renderer()
|
The check $cm->uservisible may be executed before the course/cm/page/context are set, which throws debugging in the above line of code. Also when we try to set the current course later, the fatal exception occurs.
It was urgently fixed in MDL-49418, this fix should be rolled back and instead availability code to be fixed.
Error occurs when one module has two or more access restrictions
- Discovered while testing
-
MDL-49418 Teacher error on resources/activities with 2+ activity completion in restrict access
- Closed
- has a non-specific relationship to
-
MDL-49418 Teacher error on resources/activities with 2+ activity completion in restrict access
- Closed
- will help resolve
-
MDL-50678 Teacher error on opening glossaries with 2+ activity completion in restrict access module
- Closed