Project

General

Profile

Actions

Bug #2435

closed

xmera Omnia - Collection #2512: Wiki link problems when exporting to pdf

Broken links in exported wiki pages when including sidebar

Added by liaham 7 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/19/2024
Due date:
11/19/2024
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:
5.1.z

Description

Having wiki page links in a sidebar like so:

  • [[Wiki]]
  • [[Meta-data]]

and including the sidebar in a wiki page like so:

{{include(sidebar)}}

ends up in broken links when exporting all wiki pages in a pdf. The links won't have a protocol like https://.


Related issues 2 (0 open2 closed)

Related to Redmine - Bug #2179: Broken links in exported wiki pages when using child_pages macroClosedliaham07/04/2024

Actions
Related to Redmine - Bug #2481: Broken link in exported wiki pages when including issue linksRejectedliaham11/19/202411/19/2024

Actions
Actions #1

Updated by liaham 7 months ago

  • Related to Bug #2179: Broken links in exported wiki pages when using child_pages macro added
Actions #2

Updated by liaham 6 months ago

  • Parent task set to #2512
  • Compatible Redmine Version deleted (5.0.z)
Actions #3

Updated by liaham 5 months ago

  • Description updated (diff)
Actions #4

Updated by liaham 5 months ago

This problem is similar to #2534 since internal wiki links will be resolved to relative links when conveyed with {{include(sidebar)}}. This is due to parsing via ApplicationHelper#parse_non_pre_blocks --> inject_macros before they could be resolved via parse_wiki_links.

Actions #5

Updated by liaham 5 months ago

  • Due date set to 11/19/2024
  • Status changed from New to Closed
  • Assignee set to liaham
  • Start date set to 11/19/2024
  • % Done changed from 0 to 100
Actions #6

Updated by liaham 5 months ago · Edited

This issue and #2534 are solved via fix_href_for_wiki_exports_to_external_links.patch.

Actions #7

Updated by liaham 5 months ago

  • Related to Bug #2481: Broken link in exported wiki pages when including issue links added
Actions

Also available in: Atom PDF