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

Table of Contents macro links do not work when using Documentation theme

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      The Table of Contents macro links do not redirect to the appropriate heading on the page when the Documentation theme is used in the space.

      Environment

      • Confluence Cloud version 5.9.1-OD-2015.47.1-0002
      • Space uses Documentation Theme

      Steps to Reproduce

      1. Create a space and apply the Documentation Theme
      2. Create a new page with several headings, add the Table of Contents macro
      3. Save the page, and attempt to click on one of the heading links in the table of contents

      Expected Results

      1. You are re-directed to the appropriate heading on the page

      Actual Results

      1. You are not re-directed

      Workaround

      1. Right clicking on a link and opening in a new window will place you in the correct area of the page.
      2. A better solution would be to switch to the default global look and feel for confluence, as the Documentation theme is being discontinued
      3. To make use of Table of Content Zone Macro instead of Table of Contents Macro.
        • When using the ToC Zone macro, ensure all content is placed in the body of the macro. The Table of contents is generated based on headings inside the macro body.

            [CONFSERVER-39960] Table of Contents macro links do not work when using Documentation theme

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2879805 ] New: CONFSERVER Bug Workflow v4 [ 3003553 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2791385 ] New: JAC Bug Workflow v3 [ 2879805 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2721381 ] New: JAC Bug Workflow v2 [ 2791385 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391361 ] New: JAC Bug Workflow [ 2721381 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2271298 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391361 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221511 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2271298 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166124 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221511 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1946991 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166124 ]

            workaround was useful table of contents are working after changing macro to ToC Zone macro and putting content inside the body of the macro.

             

            rajesh ediger added a comment - workaround was useful table of contents are working after changing macro to ToC Zone macro and putting content inside the body of the macro.  
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1732816 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1946991 ]

              Unassigned Unassigned
              mpaisley Mel Paisley
              Affected customers:
              0 This affects my team
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: