-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.4, 2.3.1
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE
-
wip-
MDL-34669-master -
-
When called from editor instance on some pages (e.g. adding post to forum),
filepicker is showing empty list of legacy course files.
This is happening because context is not set properly for editor which forces
lib/form/editor.php to fallback to system context.
I'll provide with patch which changes this behavior to make editor use page context
instead, and only if it fails, then set context to context_system.