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

Export of page which includes other pages contains broken links

      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:

        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

            [CONFSERVER-36839] Export of page which includes other pages contains broken links

            Atlassian Update - 14 April 2025

            Hi,

            At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products.

            This bug is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments; this inactivity suggests a low impact.

            Please note the comments on this thread are not being monitored.

            You can read more about our bug fix policy here and how we prioritize bugs.

            To learn more about our recent investments in Confluence Data Center, please check our public roadmap and dashboards containing recently resolved issues, current work, and future plans.

            Kind regards,
            Confluence Data Center

            George Varghese added a comment - Atlassian Update - 14 April 2025 Hi, At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products. This bug is being closed due to a lack of engagement in the last four years , including no new watchers, votes, or comments; this inactivity suggests a low impact. Please note the comments on this thread are not being monitored. You can read more about our bug fix policy here and how we prioritize bugs. To learn more about our recent investments in Confluence Data Center, please check our public roadmap and dashboards containing recently resolved issues , current work, and future plans . Kind regards, Confluence Data Center

            This is a Major bug and prevents to use the functionality. We are paying a lot of licence cost and expect solving this issue asap.

            Deleted Account (Inactive) added a comment - This is a Major bug and prevents to use the functionality. We are paying a lot of licence cost and expect solving this issue asap.

            A bug open since 2015 - and noone seems trying to find a solution. It`s not minor bug but concerning basic functionality of Confluence. Is there an new status I can`t see?

             

            Sabine Bamboschek-Keller added a comment - A bug open since 2015 - and noone seems trying to find a solution. It`s not minor bug but concerning basic functionality of Confluence. Is there an new status I can`t see?  

            I, as well, am looking for a solution for this problem.

            What is the status for it?

            Regards,

            Luciana Haugen added a comment - I, as well, am looking for a solution for this problem. What is the status for it? Regards,

            nachu.subramanian925184253 added a comment -

            We are also affected by this Bug. Our users are using Navigation Map Macro a lot in designing their Confluence Pages. These pages are often shared to external parties in HTML format. But when they open in HTML format, all styling gets broke, not a good experience.

            I see this issue has been opened for more than 3 years. Is there a plan to fix this in coming releases, hopefully by this year end?

            nachu.subramanian925184253 added a comment - We are also affected by this Bug. Our users are using Navigation Map Macro a lot in designing their Confluence Pages. These pages are often shared to external parties in HTML format. But when they open in HTML format, all styling gets broke, not a good experience. I see this issue has been opened for more than 3 years. Is there a plan to fix this in coming releases, hopefully by this year end?

            Sam Tardif added a comment -

            I've updated the title of this bug, as I believe it only relates to the links on the page. Attachments are present and fine in the export, when tested in both 5.6 and 5.7. Links remain broken, they point to the instance from which the export was taken, rather than local files. Hard to say when this was introduced.

            Sam Tardif added a comment - I've updated the title of this bug, as I believe it only relates to the links on the page. Attachments are present and fine in the export, when tested in both 5.6 and 5.7. Links remain broken, they point to the instance from which the export was taken, rather than local files. Hard to say when this was introduced.

            Hi Nazariy

            Thanks for the update. Those steps are very clear, thanks.

            Regards
            Steve Haffenden
            Confluence Bugmaster

            Steve Haffenden (Inactive) added a comment - Hi Nazariy Thanks for the update. Those steps are very clear, thanks. Regards Steve Haffenden Confluence Bugmaster

            NazariyL added a comment -

            Hello Steven and thank you for the fast reply.

            Steps:

            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 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.

            Is this clear?

            NazariyL added a comment - Hello Steven and thank you for the fast reply. Steps: 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. On another page (PAGE B) include PAGE A using the Include Page macro. Export space to HTML Unzip the export file 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. Is this clear?

            Hi Nazariy

            Thanks for getting in touch and taking the time to raise this issue. Are you able to reliably reproduce this issue. If so, could you let me know the steps that you take to reproduce it. This will help us to identify exactly what's occurring here.

            Regards
            Steve Haffenden
            Confluence Bugmaster

            Steve Haffenden (Inactive) added a comment - Hi Nazariy Thanks for getting in touch and taking the time to raise this issue. Are you able to reliably reproduce this issue. If so, could you let me know the steps that you take to reproduce it. This will help us to identify exactly what's occurring here. Regards Steve Haffenden Confluence Bugmaster

              Unassigned Unassigned
              279e8592dd90 NazariyL
              Affected customers:
              6 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: