Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-36839

Export of page which includes other pages contains broken links

    XMLWordPrintable

Details

    Description

      When exporting a page to HTML which includes others, the page will not include the attachments on that sub page, nor will it adjust the links.

      Exporting of the space, and selecting the page and the included ones still does not work, as the image links point to /confluence/ rather than to the correct location on disk.

      So when a page is included it needs to somehow include all the attachments and rewrite the image urls during export.

      Steps to reproduce:

      1. Create a page (PAGE A) containing links to other pages within the same space. Links are created with the Search option in the Create link dialog.
      2. On another page (PAGE B) include PAGE A using the Include Page/Multiexcerpt/Navigation Map macro.
      3. Export space to HTML
      4. Unzip the export file
      5. Observe that links on PAGE A point to extracted html files while links on PAGE B point to https pages of your Confluence instance

      The same happens when using the Multiexcerpt plugin instead of Page Include.

      This also happens for Navigation Map Macro:

      1. Actual "html-test" page in Confluence:
      2. Navigating to page "1" that is listed in the Navigation Map Macro in Confluence:

      3. Exported HTML of "html-test" page:
      4. Navigating to page "1" that is listed in the Navigation Map Macro in Exported HTML file:

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          108 kB
        2. screenshot-2.png
          screenshot-2.png
          50 kB
        3. screenshot-3.png
          screenshot-3.png
          73 kB
        4. screenshot-4.png
          screenshot-4.png
          58 kB
        5. screenshot-5.png
          screenshot-5.png
          58 kB
        6. screenshot-6.png
          screenshot-6.png
          32 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              279e8592dd90 NazariyL
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: