error/moodle/setting invalid ui label: Difference between revisions
From MoodleDocs
(Created page with " This error will occur when the course being backed up (or copied/imported) contains a section with invalid characters in its name. ==Workaround== Due to a bug in the current...") |
(Specify bugfix versions) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
This error will occur when the course being backed up (or copied/imported) contains a section with invalid characters in its name. | This error will occur when the course being backed up (or copied/imported) contains a section with invalid characters in its name. | ||
==Workaround== | ==Workaround== | ||
Due to a bug in the | Due to a bug in the validation code of previous Moodle versions (below 3.10.10 und 3.11.6), any names that consist of whitespace characters are considered invalid and thus trigger this error. | ||
Users that rely on "blank" section names (e.g. to prevent the display of Moodle's default category labels) are advised to | Users that rely on "blank" section names (e.g. to prevent the display of Moodle's default category labels) are advised to | ||
* '''remove the whitespace''' for the duration of the backup or | * '''remove the whitespace''' for the duration of the backup or | ||
* replace it with a <code>&nbsp;</code> HTML entity (which will add an empty line, unfortunately). | * replace it with a <code>&nbsp;</code> HTML entity (which will add an empty line, unfortunately). | ||
==See also== | ==See also== | ||
* MDL-72762 | * MDL-72762 | ||
[[Category:Error]] | [[Category:Error]] | ||
[[de:error/moodle/setting_invalid_ui_label]] | |||
[[de:error/ | [[es:error/moodle/setting invalid ui label]] | ||
[[fr:error/moodle/setting invalid ui label]] |
Latest revision as of 12:20, 5 April 2022
This error will occur when the course being backed up (or copied/imported) contains a section with invalid characters in its name.
Workaround
Due to a bug in the validation code of previous Moodle versions (below 3.10.10 und 3.11.6), any names that consist of whitespace characters are considered invalid and thus trigger this error.
Users that rely on "blank" section names (e.g. to prevent the display of Moodle's default category labels) are advised to
- remove the whitespace for the duration of the backup or
- replace it with a
HTML entity (which will add an empty line, unfortunately).