-
Bug
-
Resolution: Fixed
-
Major
-
3.5
-
MOODLE_35_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-62285-master -
The moodle_content_writer::get_context_path() function uses the context name to build the path for the context however context names are not guaranteed to be unique, for example with blocks.
You can add two separate instances of the same block in the same context (for example one on the dashboard and one on the user profile page) which will result in the same path being generated for two separate block instances.