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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.16.0
    • Component/s: Editor - Attachment
    • 1
    • Severity 2 - Major
    • 0

      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.

        1. 10.232.39.24-1646838831568.log
          58 kB
          Zac Xu
        2. image-2022-03-10-11-14-43-050.png
          961 kB
          Zac Xu

            Assignee:
            Unassigned
            Reporter:
            Zac Xu
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: