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

'Unable to render include The included page could not be found.' message displayed for include-page macros after upgrading Confluence

    XMLWordPrintable

Details

    Description

      Summary

      When upgrading Confluence 5.4.X to 5.7.x, if there are pages that have an include-page macro that points to a blog post it will display an 'Unable to render The included page could not be found' error instead of the included page

      Reproduction steps:

      1. Install Confluence 5.4.4
      2. Create a blog post
      3. Create a blank page, add an include-page macro that points to the previously created blog post
      4. Save the page and see that it renders correctly
      5. Stop Confluence
      6. Upgrade to Confluence 5.7.1
      7. Go back to the page created in step 3

      Expected behavior

      The blog post is rendered in the page

      Actual behavior

      'Unable to render The included page could not be found' is displayed instead of the blog post's contents

      Related Notes

      • If you look at the storage format you can tell the difference in how blog posts are linked:
        • Confluence 5.4.4
          • <p><ac:structured-macro ac:name="include"><ac:parameter ac:name=""><ac:link><ri:page ri:content-title="2015/03/11/This is a blog post" /></ac:link></ac:parameter></ac:structured-macro></p>
        • Confluence 5.7.1
          • <p><ac:structured-macro ac:name="include"><ac:parameter ac:name=""><ac:link><ri:blog-post ri:content-title="This is a blog post" ri:posting-day="2015/03/11" /></ac:link></ac:parameter></ac:structured-macro></p>
      • It looks like there should be an upgrade job that finds existing include-page macros and convert them to the new format, and it either doesn't exist or is not working.

      Workaround

      1. Edit the include macro and add a / before the start of the date.
      2. Save and view the page

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sbrannen@atlassian.com Branno
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: