-
Bug
-
Resolution: Fixed
-
Major
-
2.0, 2.1, 2.2
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_22_STABLE
-
w38_
MDL-29401_m22_frankenstyle -
The validation of component, plugin and file areas is very inconsistent, we need new PARAM_COMPONENT, PARAM_PLUGIN and PARAM_AREA.
- PARAM_COMPONENT - expected to be used for 'frankenstyle' names of plugins, that is plugintype_pluginname
- PARAM_PLUGIN - plugin name, please note standard modules (mod/*) must not use underscores and numbers are strongly discouraged
- PARAM_AREA - areas are used in file api, comments, ratings and other subsystems, it is usually used as "contextid + component + area + itemid" which allows content addressing
Upgrades:
- core is not affected by the changes
- contrib code has to be upgraded to use new more restricted format (special chars we already creating problems in different areas)
- it is not possible to migrate file areas during restore of older backup format yet (see
MDL-30930)