Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
1.4
-
None
Description
Steps to reproduce:
1. Go to Administer wiki and make sure you have SVG Macro and Modal Box application installed
2. Create a new page
3. Edit in wiki mode and paste this content:
{{svg width="640" height="480"}} <svg width="640" height="480" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"> <g> <title>Layer 1</title> <rect transform="rotate(29.0349, 399.602, 239.6)" stroke-width="5" stroke="#000000" fill="#0000ff" id="svg_1" height="213.948426" width="324.49861" y="132.625181" x="237.349801"/> <text x="374.6" y="242.1" id="svg_2" fill="#000000" stroke="#000000" stroke-width="0" font-size="24" font-family="serif" text-anchor="middle" xml:space="preserve" transform="matrix(1, 0, 0, 1, 27, 10)">This is an SVG Drawing</text> </g> </svg> {{/svg}}
4. Save the page
Result:
Instead of the SVG Drawing http://extensions.xwiki.org/xwiki/bin/view/Extension/SVG+Macro#HResult you have the error “Failed to execute the [velocity] macro.”
The exact error is displayed on http://localhost:8080/xwiki/bin/view/XWiki/SVGMacro
I reproduced this issue with XE 7.4.2 and XE 7.4.3.
I tested with the exact same steps on 7.2 and it works.