-
Bug
-
Resolution: Fixed
-
Minor
-
3.5.3, 3.6.1, 3.7
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
While lookin into MDL-61286 I noticed that several question types call format_string with the wrong context. Questions belong (via question categories) to a particular context. However, they may be displayed in a different context, and it is the context where they are being displayed that should be used to control filters.
(E.g. a question from the couse question bank may be displayed in a quiz. It is the quiz context that should be used for format_string. This is probably not the best example to show why this is importnat.)