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

Space HTML Export renders page links in Children Display Macro as Full URL when Faster Permission is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.16.0, 8.5.23, 9.2.5, 9.5.2
    • None

      Issue Summary

      Space HTML Export renders page links in Children Display Macro as Full URL, when Faster Permission is Enabled.
      This feature is released on Confluence 7.16.0.

      Version info

      Replicable in:

      • Confluence 7.16.0
      • Confluence 8.5.23
      • Confluence 9.2.5
      • Confluence 9.5.2

      Steps to Reproduce

      1. Install Confluence 7.16.0 or above
        This issue has been tested and confirmed still impacting Confluence 9.2.5
      2. Make sure that Faster Permission is Enabled
      3. Create a new space
      4. Under the space above, create a page named "Parent Page" and insert a Children Display Macro
      5. Create a few more pages as child page under the Parent Page above
        This is so that the Parent Page with Children Display Macro shows it's child pages in bullet points
      6. Export the space into HTML
      7. Inspect the exported HTML file for the Parent Page, specifically in the class='childpages-macro' section

      Expected Results

      Each of the Child Pages should have href attribute pointed to the local file:

      <p>
      	<ul class='childpages-macro'>
      		<li>
      			<a href="Task-List-One_983044.html">Task List One</a>
      		</li>
      		<li>
      			<a href="Task-List-Two_983046.html">Task List Two</a>
      		</li>
      	</ul>
      </p>
      

      Clicking on the href above opens the local HTML file

      Actual Results

      Each of the Child Pages have href attribute pointed to the Full HTML for Confluence:

      <p>
      	<ul class='childpages-macro'>
      		<li>
      			<a href="http://localhost:27160/c7160/display/PROJ/Task+List+One">Task List One</a>
      		</li>
      		<li>
      			<a href="http://localhost:27160/c7160/display/PROJ/Task+List+Two">Task List Two</a>
      		</li>
      	</ul>
      </p>
      

      Clicking on the href above opens the full URL to the original Confluence

      Workaround

      Disabling Faster Permission reverts the behavior back to the "Expected Results" above. However, please take into consideration that re-enabling Faster Permission may take time for the feature initialization depending on the instance size.

              Unassigned Unassigned
              btan@atlassian.com Damien Tan
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: