Attachment Copy-Paste or Drag-Drop Do Not Work

XMLWordPrintable

    • 23
    • Severity 3 - Minor

      Atlassian Status: Feb 9, 2017 ~ 22:00 UTC
      A fix for this issue has been deployed to all Confluence Cloud instances. Please contact Atlassian Support with any additional questions or concerns.

      Summary

      Attempting to copy and paste or drag and drop an attachment into a Confluence page fails.

      Steps to Reproduce

      1. Edit a page
      2. Copy an image or drag an image onto the page
      3. Attempt to paste\drop the image into the page

      Expected Results

      Image is attached and inserted into the page successfully.

      Actual Results

      Image is not attached or inserted. The error below is thrown in the browser development console on Copy-Paste. On Drag-Drop the attachment is loaded locally in the browser window but not attached\inserted on the page.

      Uncaught TypeError: Cannot read property 'upload' of undefined
      at Object.pasteFromEvent (com.atlassian.confluence.plugins.confluence-paste:paste-resources.js?locale=en-GB:8)
      at Object.onPaste (com.atlassian.confluence.plugins.confluence-paste:paste-resources.js?locale=en-GB:7)
      at Editor.<anonymous> (com.atlassian.confluence.plugins.confluence-paste:paste-resources.js?locale=en-GB:6)
      at Dispatcher.dispatch (com.atlassian.plugins.tinymce:atlassian-rte-javascript-tinymce-core.js:17)
      at b (com.atlassian.plugins.tinymce:atlassian-rte-javascript-tinymce-core.js:331)
      at DOMUtils.<anonymous> (com.atlassian.plugins.tinymce:atlassian-rte-javascript-tinymce-core.js:332)
      at HTMLBodyElement.e (com.atlassian.plugins.tinymce:atlassian-rte-javascript-tinymce-core.js:164)
      

      Workaround

      1. Attach file manually 
      2. Use Insert Files and Images editor function

            Assignee:
            Russ Gould [Atlassian] (Inactive)
            Reporter:
            Russ Gould [Atlassian] (Inactive)
            Votes:
            54 Vote for this issue
            Watchers:
            52 Start watching this issue

              Created:
              Updated:
              Resolved: