Include page macro returns an error if the page from the same space has colon on the title

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      Include page macro returns an error "unable to render

      {include}" if the page has a colon symbol : in the page title, if the page is from the same space where you are trying to include the page.
      It happens on the new editor.
      It works normally if the page is from another space.

      h3. Steps to Reproduce
      # Create a parent page that will contain Include Page macro on a space A.
      # Create another page that contain colon on the title, for example: 'Atlassian::Testing Page' or 'Atlassian:TestPage' on the same space A.
      # Insert the include page macro on the parent page
      # Search for 'Atlassian::Testing Page' or 'Atlassian:TestPage'
      # Click on the search results for the page to include it

      h3. Expected Results
      The content on the include page macro shows as expected in the macro.

      h3. Actual Results
      The unable to render {include}

      error is displayed instead of the page content.

      Workaround

      Currently, the workaround would be renaming the page to remove the colon or, adding a space after the colon, for example:
      Original title: Atlassian::Testing Page' or 'Atlassian:TestPage'
      Modified title workaround: 'Atlassian: TestPage'.

      Notes:
      If there is a space before the colon or after a colon, it works.
      If the page title has two colons next after the other like in this example Atlassian::Testing Page, adding a space after the second colon does not work.

            Assignee:
            Unassigned
            Reporter:
            Jessica
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: