xwikisas / application-diagram

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

Internal links don't appear in the PDF export created from the Diagram menu #244

Closed ane-gabriela closed 2 days ago

ane-gabriela commented 1 year ago

Steps to reproduce:

  1. Create a new diagram with shapes that contain text
  2. Select a word and link it to an internal page ex. Sandbox Test Page 1
  3. Select a another word and link it to an external URL ex. https://store.xwiki.com/xwiki/bin/view/Main/WebHome
  4. Click on File > Export as > PDF... > Export > Download
  5. Open the resulted PDF
  6. Click on the words with links

Expected results: The user is redirected to the selected page/URL.

Actual results: Only the external URL works when the text is clicked. The links to the internal pages don't appear in the PDF, the text is only blue and with underline.

Diagram 1.pdf

InternalExternalLinks

Environment: Windows 11, XWiki 14.10.10, Chrome 114, Diagram Application (Pro) 1.19

lucaa commented 9 months ago

Note: this pdf export feature is using an external service to perform the export, so it would be disabled (from administration) in quite a number of cases.

snazare commented 2 days ago

Handled in #288