This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-8d566754-349f-4404-874c-acec7c4377db XWIKI-22486 Open

Improve fallbacks in DefaultIconSetManager

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-acfc9456-4319-4ba7-8213-2621813ec186 Simon Urli created this issue on 05/Sep/24 12:01
 
Summary: Improve fallbacks in DefaultIconSetManager
Issue Type: cid:jira-generated-image-avatar-8d566754-349f-4404-874c-acec7c4377db Improvement
Affects Versions: 15.10.12
Assignee: Unassigned
Components: Icon Themes
Created: 05/Sep/24 12:01
Priority: cid:jira-generated-image-static-major-858e1ca3-ef49-41d1-9dc0-c37354722d57 Major
Reporter: Simon Urli
Description:

Right now there's no real fallback in DefaultIconSetManager if no IconTheme can be found: the current icon set will return null, and that null value is not interpreted in getIconSet either.
We should always have a fallback, as the iconTheme property in XWikiPreference might be empty.