xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 8 forks source link

Downloading SVG makes the internal links non functional #130

Closed ane-gabriela closed 1 month ago

ane-gabriela commented 4 years ago

Steps to reproduce:

  1. Create a new Diagram
  2. Add some shapes
  3. Add a word in each shape
  4. Select the word from one of the shapes
  5. Click on the Link... button below Insert from the right panel
  6. Select a wiki page > Apply
  7. Select another shape/word
  8. Click on the Link... button below Insert from the right panel
  9. Select External and paste an URL eg. https://en.wikipedia.org/wiki/Flower
  10. Click File > Export as > SVG...
  11. Click on Export
  12. Click on Download
  13. Open the SVG

Expected results: The links are showing as expected.

Actual results: The links to internal pages aren't showing properly eg. "file:///C:/xwiki/bin/view/Sandbox/TestPage2" while the external links are working as expected.

Environment: Windows 10, XWiki 11.10.4 with MySQL 5.7 and Chrome 80

SVGExport

ane-gabriela commented 1 year ago

Reproducing on XWiki 14.10.10 with Chrome 114. Diagram Application (Pro) 1.19

InternalPages

ane-gabriela commented 3 months ago

Tested on Cloud with XWiki 15.10.8 and also locally, with Diagram Application (Pro) 1.20.4 - it appears that the links to pages are working now, when exporting as SVG

SGV15 10 8

snazare commented 1 month ago

thank you @ane-gabriela closing as the issue was fixed in the meantime.