Note: You are currently viewing documentation for Moodle 4.0. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/setting invalid ui label.

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...")
 
No edit summary
Line 16: Line 16:
[[Category:Error]]
[[Category:Error]]


[[de:error/admin/setting_invalid_ui_label]]
[[de:error/moodle/setting_invalid_ui_label]]

Revision as of 15:56, 30 December 2021

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 validation code, 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).

See also