Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-80643

Failure to Retrieve 'contentid' in Macros Using AP.navigator.getLocation on Homepages Rendered by Backend Server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Connect Platform
    • None

      Issue Summary

      The AP.navigator.getLocation function is unable to retrieve the 'contentid', affecting the Page Properties Report Macro and any other macros that rely on this function. This issue specifically occurs when the page is set as a homepage and is rendered by the backend server.

      Steps to Reproduce

      1. Set a page as the homepage in Confluence Cloud.
      2. Ensure the page is rendered by the backend server.
      3. Access the homepage that includes the Page Properties Report Macro or any macro using AP.navigator.getLocation.
      4. Observe the failure to retrieve 'contentid', resulting in incomplete or missing data displays.

      Expected Results

      Macros using AP.navigator.getLocation should correctly retrieve and utilize the 'contentid', allowing them to function as expected on homepages rendered by the backend server.

      Actual Results

      The macros fail to retrieve 'contentid', leading to incomplete data displays and functionality issues.

      Workaround

      Visit any page from the space before click inside the home, frontend will be able to get the contentid from the current context

              Unassigned Unassigned
              188f830ca5ca Michael Gonzalez (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: