Bugfix
(User-visible)
Detail
#27484
Missing theme reset on "reload theme".
If the theme is reloaded in the application, the user's cached theme object is not reset, i.e. the old, no longer current theme continues to be used by the application until the user logs out.
This has the disadvantage that the browser may continue to use the cached theme when a simple F5 is pressed, so that changes to the CSS are not visible.
Solution
When the theme is reloaded, the ThemeFactory is restarted. All existing themes will be invalidated, so that the newly loaded theme will be used from now on.
Test
- Make a change in the template.css, which is immediately recognizable, e.g. insert the following
body div {background-color:green; }
- Reload theme, press F5.
- Expectation: The change is visible.