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

      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.

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

            A fix for this issue is available in Confluence Server and Data Center 7.13.9.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Saran Babu Pannuru (Inactive) added a comment - A fix for this issue is available in Confluence Server and Data Center 7.13.9. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 7.19.0. Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Server and Data Center 7.19.0. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Zac Xu added a comment -

            This fix doesn't include Windows Version Microsoft Office 365 MSO.

            The MSO issue is tracked separately in this ticket.

            https://jira.atlassian.com/browse/CONFSERVER-79549

            Zac Xu added a comment - This fix doesn't include Windows Version Microsoft Office 365 MSO. The MSO issue is tracked separately in this ticket. https://jira.atlassian.com/browse/CONFSERVER-79549

            When will this be back ported to LTS?

            Jeanne Howe added a comment - When will this be back ported to LTS?

            Rodney Hughes added a comment - - edited

            As mentioned above, my feedback (as one of the original "reporters" of the bug)  is v 7.17.1 works fine for me - problem solved

            Rodney Hughes added a comment - - edited As mentioned above, my feedback (as one of the original "reporters" of the bug)  is v 7.17.1 works fine for me - problem solved

            Zac Xu added a comment -

            Hi 7675e03adf45 
             
            We are currently waiting for feedback on the fix and will backport to LTS once we have collected feedback in order to maintain the quality of the LTS releases. Thanks for your patience.
             
            Cheers,
            Zac
             

            Zac Xu added a comment - Hi 7675e03adf45     We are currently waiting for feedback on the fix and will backport to LTS once we have collected feedback in order to maintain the quality of the LTS releases. Thanks for your patience.   Cheers, Zac  

            Rick Carini added a comment - - edited

            Hi nhoxuan, zxu2@atlassian.com

            Do you have a schedule for this to be ported to the LTS releases (7.13.x)?

            Thanks!
            Rick

            Rick Carini added a comment - - edited Hi nhoxuan , zxu2@atlassian.com Do you have a schedule for this to be ported to the LTS releases (7.13.x)? Thanks! Rick

            Yee-Ha!  Yippee!

            Just tested 7.17.1 .... Copy/paste from Excel and PowerPoint worked!!

            Rodney Hughes added a comment - Yee-Ha!  Yippee! Just tested 7.17.1 .... Copy/paste from Excel and PowerPoint worked!!

            Nam Ho added a comment -

            A fix for this issue is available in Confluence Server and Data Center 7.17.1.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Nam Ho added a comment - A fix for this issue is available in Confluence Server and Data Center 7.17.1. Upgrade now or check out the Release Notes to see what other issues are resolved.

            This issue was not a problem as of a few months ago, and the referenced Chromium bug is ~two years old. This was working more recently than that.

            Rick Carini added a comment - This issue was not a problem as of a few months ago, and the referenced Chromium bug is ~two years old. This was working more recently than that.

              zxu2@atlassian.com Zac Xu
              zxu2@atlassian.com Zac Xu
              Affected customers:
              14 This affects my team
              Watchers:
              24 Start watching this issue

                Created:
                Updated:
                Resolved: