This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-a96196ca-fa0c-4f95-8ad2-ac23a640a180 XWIKI-24485 Open

The Icon theme REST API doesn't indicate the skin extensions required by the returned icons

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-8e3e4afb-7710-4de9-99e9-41d3ac6bab70 Marius Dumitru Florea created this issue on 15/Jun/26 12:17
 
Summary: The Icon theme REST API doesn't indicate the skin extensions required by the returned icons
Issue Type: cid:jira-generated-image-avatar-a96196ca-fa0c-4f95-8ad2-ac23a640a180 Bug
Affects Versions: 13.4-rc-1
Assignee: Unassigned
Components: Icon - Icon Themes
Created: 15/Jun/26 12:17
Priority: cid:jira-generated-image-static-major-7e6d259e-46e3-49da-83f6-38786100e6af Major
Reporter: Marius Dumitru Florea
Description:

Starting with XWIKI-18604 we have a REST API to fetch icons from an icon theme. Starting with XWIKI-24120 we also have a simple way for JavaScript code to load icons from the current icon theme (based on the REST API). The problem is that the icons are not properly displayed unless the skin extensions required by the icon theme are loaded as well. The REST API should indicate the required skin extensions in the response HTTP header, so they are picked up and injected automatically (XWIKI-18895).