Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-78057

Pasting an image in the editor doesn't trigger upload and result in browser console and server exceptions

    XMLWordPrintable

Details

    Description

      Issue Summary

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

      Steps to Reproduce

      • unknown

      Expected Results

      Image should be uploaded.

      Actual Results

      No upload progress bar shown but after a while the issue is completely gone for unknown reasons.

      batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:66333 Uncaught TypeError: Cannot read properties of undefined (reading 'bind')    
      * at Object.onPaste (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:66333:57)    
      * at e.<anonymous> (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:66308:45)    
      * at e.fire (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:56460:55)    
      * at e.fire (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:56542:46)    
      * at Jk (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:56572:54)    
      * at Object.n (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:56601:37)    
      * at e.executeHandlers (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:40008:60)    
      * at HTMLBodyElement.m (batch.js?frontend.editor.v4=true&gatekeeper-ui-v2=true&healthcheck-resources=true&hostenabled=true&locale=en-GB&tc-license-setup=false&user-logged-in=true:formatted:39869:35) 
      

      Workaround

      Upload in another browser.

      Upload through upload button.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: