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

The children display macro sometimes doesn't render the jira issue macro

      Summary

      Under certain conditions, the Children Display macro (using excerptType=rich content) will not render the Jira Issue Macro contained in a table on a child page.

      Example parent page:

      Example child page:

      Repro Steps

      1. Link Confluence and Jira via application link.
      2. Create 2 pages, one parent and one child.
      3. On a "parent" page, add a Children Display macro and change excerpt type to "rich content".
      4. On a child page, create a table with a heading and at least 3 columns (i.e. 2 high x 3 wide).
      5. Enter some text in each column heading on the child page.
      6. On the table in the child page on row 2, enter text in the first column, add a link to a file attachment in the second column, then add a Jira issue macro pointed to a jira issue in the third column.
      7. Save and view the parent page, the Jira issue macro will not render.

      Findings

      • This is not caused by synchrony, as it occurs whether or not synchrony is enabled.
      • Flushing the Confluence cache and browser cache does not change the behavior

      Checking the HAR file I see that the macro is not even in the source coming from the children display macro, which is surrounded by "test" and "testing" (see picture):

      <p>test</p><p><ul class="childpages-macro conf-macro output-block" data-hasbody="false" data-macro-name="children"><li><a href="/display/TEST/Another+Copy+of+Child+5">Another Copy of Child 5</a><p><span>test</span><span>test</span></p><div class="table-wrap"><table class="wrapped confluenceTable"><tbody><tr><td colspan="1" class="confluenceTd">as</td><td colspan="1" class="confluenceTd">ss</td><td colspan="1" class="confluenceTd"><br /></td></tr><tr><td colspan="1" class="confluenceTd"><div class="content-wrapper"><p>a</p></div></td><td colspan="1" class="confluenceTd"><span><a href="/download/attachments/1212417/aws1.png?version=1&amp;modificationDate=1516923654162&amp;api=v2" data-linked-resource-id="1212418" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="aws1.png" data-nice-type="Image" data-linked-resource-content-type="image/png" data-linked-resource-container-id="1212417" data-linked-resource-container-version="19">test</a></span></td><td colspan="1" class="confluenceTd"><div class="content-wrapper"> </div></td></tr></tbody></table></div></li></ul></p><p>end test</p>
      

      Examples attached which can be used to reproduce the issue:

      Workaround

      Modify the table in some way to change the contents. Currently we are unsure of which specific piece of content prevents the Jira macro from rendering properly inside of the Children Display macro.

        1. repro2-child.png
          repro2-child.png
          172 kB
        2. repro2-child-storage-format.txt
          1 kB
        3. repro2-har.har
          6.74 MB
        4. repro2-parent.png
          repro2-parent.png
          157 kB
        5. repro2-parent-storage-format.txt
          0.2 kB

            [CONFSERVER-54859] The children display macro sometimes doesn't render the jira issue macro

            No work has yet been logged on this issue.

              Unassigned Unassigned
              jwyllys Justin W.
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: