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

Confluence generates attachment xml with <ri:content-entity content-id="..."> that renders as an unknown attachment

XMLWordPrintable

      Issue Summary

      Confluence generates attachment xml with <ri:content-entity content-id="..."> that renders as an unknown attachment. When it happens, it affects the whole page, probably multiple pages.

      Example:

      <p>
        <ac:image>
          <ri:attachment ri:filename="image2020-10-21_12-40-38.png">
            <ri:content-entity ri:content-id="138910055"/>
          </ri:attachment>
        </ac:image>
      </p>

      Steps to Reproduce

      Not known yet.

      Expected Results

      Attachment is rendered correctly.

      Actual Results

      Attachment is rendered as an unknown attachment.

      Workaround 1

      Reindex fixes the issue.

      Workaround 2

      Alternatively one can manually remove <ri:content-entity ri:content-id="..."/> inside <ri:attachment> tag using source editor plugin - that also seems to fix it, though much less convenient.

            dluong Duy Truong Luong
            ggautam Ganesh Gautam
            Votes:
            100 Vote for this issue
            Watchers:
            123 Start watching this issue

              Created:
              Updated:
              Resolved: