Hi,
If I use OH icons in any layout page than the icon is not visible anymore (since a few days, it worked in the past).
If I use a different icon set, than icons are working fine.
There is no error in the log, I have already used different browsers, cleared cache on my browser & cleared OH cache, but the issue is still there.
Sample:
code
config:
label: Icon Test
blocks:
- component: oh-block
config: {}
slots:
default:
- component: oh-grid-row
config: {}
slots:
default:
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-label-card
config:
title: "OH Icon (with oh: prefix)"
icon: oh:sun
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-label-card
config:
title: "OH Icon (without oh: prefix)"
icon: sun
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-label-card
config:
title: F7 Icon
icon: f7:thermometer
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-label-card
config:
title: Material Icon
icon: material:add
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-label-card
config:
title: Iconify Icon
icon: iconify:uil:adjust-half
masonry: null
grid: []
canvas: []
If I use my browsers developer tool I see the following html code for a working icon, e.g. f7:
<div class="item-media"><i class="icon f7-icons" style="font-size: 32px; width: 32px; height: 32px;">thermometer</i></div>
and this code for the OH:sun icon:
<div class="item-media"><img onload="this.classList.remove('no-icon')" onerror="this.classList.add('no-icon')" src="/icon/sun?format=svg&anyFormat=true" class="no-icon" style="width: 32px; height: 32px;"></div>
http://OH-IP:Port/icon/sun?format=svg&anyFormat=true is returning a 404 error
URI: /icon/sun
STATUS: 404
MESSAGE: Not Found
SERVLET: org.ops4j.pax.web.service.spi.model.ServletModel-24
Any ideas how to fix this?
Thanks in advance