-
Type:
Bug
-
Status: Verified
-
Resolution: Unresolved
-
Affects Version/s: 6.2.10 EE GA1
-
Fix Version/s: None
-
Component/s: ~ [Archived] Themes Infrastructure
-
Labels:None
-
Story Points:1.25
-
Fix Priority:2
When some layout / layout set uses a theme which was undeployed (or its ID just changed because of webapp's or theme's renaming), you will end up with logs filled with warnings like:
17:06:55,099 WARN [http-bio-8081-exec-13][ThemeLocalServiceImpl:156] No theme found for specified theme id basic_WAR_basictheme. Returning the default theme. 17:06:55,099 WARN [RuntimePageImpl-1][ThemeLocalServiceImpl:156] No theme found for specified theme id basic_WAR_basictheme. Returning the default theme.
It would be very useful to also log some pointer to the offending page. layoutId, groupId + friendlyUrl, full friendlyUrl, really anything unique to the layout that can lead to pinpointing the layout so that it can be fixed (another theme applied).
It would also be nice if the warning would be logged only once per request, not nearly 50 times as it is now.