-
Bug
-
Resolution: Fixed
-
Minor
-
3.10
-
MOODLE_310_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MDL-70106-icon-cache -
When using two themes in the system, for example, a main theme, and a forced course or user theme, if both these themes declare a new icon system mapping, based on fontawesome, the caching can become incorrect. The localstorage cache for core/pix_icon_fontawesome can be incorrect. This cache is not stored with any particular theme, just the themerev and jsrev.
If you clear all caches, and load theme1, then visit a course that forces theme2, the theme1 iconmapping will be applied to the theme2 page. This can lead to incorrect mappings, or even missing icons.