Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
3.0.0
-
0.5
-
Tiger Sprint 120
Description
When using an SVG image with an xlink the channel manager keeps showing the loading icon and is unusable.
Example svg:
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<a xlink:href="/svg/index.html" target="_top">
<rect x="10" y="20" width="75" height="30"
style="stroke: #333366; fill: #6666cc"/>
</a>
</svg>
I've tested an image on hippo 7.8, 7.9 and 10 and the error occurs on all of them.
The following log message appears in the javascript console in Chrome:
Uncaught TypeError: str.slice is not a function
My guess is that that occurs in this file org/onehippo/cms7/channelmanager/templatecomposer/iframe/iframe-all.js
I've attached a sample hippo 10 project. The error occurs when opening the homepage in the channel manager.
Attachments
Issue Links
- relates to
-
CHANNELMGR-2397 Channel Manager breaks with anchors in SVGs
- Closed