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

Children Display Macro gives an error Undeclared namespace prefix "ac" (for attribute "local-id")

    XMLWordPrintable

    Details

      Description

      Issue Summary

      When adding the Children DIsplay Macro to a page and configuring it to "Include Excerpts" with the Rich content parameter, the following error will be displayed if the child pages contain a Table of contents macro or theChange history Macro:

      Error rendering macro 'children' : [com.ctc.wstx.exc.WstxLazyException] Undeclared namespace prefix "ac" (for attribute "local-id") at [row,col \{unknown-source} ]: [1,1111]
      

      Steps to Reproduce

      1. Create a page and include the Children display macro. While configuring its parameters, under the Excerpt Display configuration, select Rich content
      2. Create at least one child page and add either the Table of contents macro, Children Display (with content populating child pages) or the Change history Macro
        child pages with TOC macro and change history macro.
      3. Go back to the parent page including the Children Display macro

       Expected Results

      The parent page with the Children macro should display the Excerpt content of child pages.

      Actual Results

      The Children Display Macro displays the following error:

      "Error rendering macro 'children' : [com.ctc.wstx.exc.WstxLazyException] Undeclared namespace prefix "ac" (for attribute "local-id") at [row,col \{unknown-source}
      
      ]: [1,111]"
      

      Workaround

      There are different workarounds to be implemented for this one:

      • Change the Excerpt Display parameter of the Children Display macro to none or simple.
      • Remove the Table of Contents, Change Change History, or the Children Display macros from the child pages.
      • Contact Atlassian support for the removal of the attribute in the macros added for the child pages.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            548341a8b24f Uzair Ahmed
            Votes:
            15 Vote for this issue
            Watchers:
            19 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: