-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
3.8
-
MOODLE_38_STABLE
The reason is, that \core\output\icon_system_standard does not extend icon_system. Therefore the check if the selected icon system is valid fails. \theme_config::get_icon_system checks \core\output\icon_system::is_valid_system. When icon_system_standard does not extend icon_system the check fails.
Changes to correct the bug
from:
class icon_system_standard {
to:
class icon_system_standard extends icon_system {
How to test
In a Boost child like »Classic« set
$THEME->iconsystem = \core\output\icon_system::STANDARD;
Check the icons - they are still shown as fontawesome icons. After the patch the Moodle standard icons are shown.
- has been marked as being related by
-
MDL-69109 Theme icons are lost after web upgrade in 3.9 or theme change in other versions
- Closed
- will be (partly) resolved by
-
MDL-69215 load_fontawesome_icon_map web service does not respect current theme
- Closed
-
MDL-67271 Add missing SVG files for FontAwesome images
- Closed
- will help resolve
-
MDL-69215 load_fontawesome_icon_map web service does not respect current theme
- Closed