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

Pasting a chart image from native Office Applications on Windows doesn't trigger upload and result in server exception

XMLWordPrintable

      The fix for this bug has been released to our Long Term Support release.

      The fix for this bug is now available in the latest release of Confluence 7.13 and 7.19

      Issue Summary

      Image pasting doesn't trigger upload sometimes, which is caused by that uploader resource was not loaded properly.

      Steps to Reproduce

      • Create a chart on Window with Microsoft® Excel® for Microsoft 365 MSO (Version 2202 Build 16.0.14931.20116) 64-bit
      • Open editor in Confluence
      • Copy & paste the chart to Confluence editor

      Expected Results

      Image should be uploaded.

      Actual Results

      No upload progress bar shown. No console errors.

      Note:

      After pasting chart from Excel to Chrome on Windows, when paste event triggered, the image is not inserted in DOM tree, which breaks existing base64 images detection. 

      base64Images = tinymce.activeEditor.getDoc().querySelectorAll('img[src^="data:image"]:not(.editor-inline-macro)');

      Workaround

      Upload the image on Firefox.

      Upload the image through upload button.

            zxu2@atlassian.com Zac Xu
            zxu2@atlassian.com Zac Xu
            Votes:
            14 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved: