Table of Contents macro generates incorrect links when there is a TOC in an included page

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 5.1.2
    • Component/s: None

      The table of contents links to various headings on a page, where the links are of the form: <currentPageTitle>#<currentPageTitle>-<headingName>
      e.g.
      http://localhost:8080/confluence/display/AP/currentPageTitle#currentPageTitle-headingName

      When this page is included via the 'Include Page' macro, the correct URL should become: <includingPageTitle>#<includingPageTitle>-<headingName>

      Instead it is rendered as <includingPageTitle>#<currentPageTitle>-<headingName>. This leads to a TOC with a bunch of broken links.

              Assignee:
              Steve Haffenden (Inactive)
              Reporter:
              David Ma
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: