Changing title of a Page that is used by a Insert Page macro on a Template causes the Insert Page macro to stop working on new Pages created from this Template: "Unable to render {include}"

XMLWordPrintable

    • 2
    • Minor

      Issue Summary

      In a Template that uses an Insert Page macro, changing the title of the inserted Page will cause the macro to display the following error, even in published Pages.

      "Unable to render {include} The included page could not be found"
      

      This is different than CONFCLOUD-68618 since every new Page created from the Template will break and also display this error if this happens.

      Page excerpts break similarly.

      Steps to Reproduce

      1. Create a Template.
      2. Use Insert Page macro and point to a Page. (note that due to CONFCLOUD-68618, the Template display the error "Unable to render include. The included page could not be found")
      3. Save the Template.
      4. Create a Page using this Template.
      5. Publish the Page. Observe that the included page does render properly.
      6. Change the included Page's title to anything else.
      7. Create another new Page using this Template
      8. Observe that this new Page's Insert Page macro is now displaying the error "Unable to render include. The included page could not be found".

      Expected Results

      The Insert Page macro functions for newly created Page's using a Template with an Insert Page macro despite the inserted Page's name changing.

      Actual Results

      The Insert Page macro instead displays the following error on all newly drafted Pages created from this Template:

      "Unable to render {include} The included page could not be found"
      

      Workaround

      Update the Template's Insert Page macro to point to the correct Page. Newly created Pages from this Template will once again have functioning Insert Page macros.

            Assignee:
            Unassigned
            Reporter:
            Tyler B [Atlassian]
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: