4467: Uploading File dialog triggers a JavaScript error if it can't communicate with the web server


What version are you running?

3.0 dev

What's the URL of the page containing the problem?


What steps will reproduce the problem?

  1. Open the Upload File dialog (either a new file using the Update -> Add File menu or by updating an existing file through Update File on a thumbnail)
  2. Kill the dev server
  3. Attempt to upload the file

What is the expected output? What do you see instead?

The code ungracefully fails with the following error:

uploadAttachmentView.js:72 Uncaught TypeError: Cannot read property 'err' of null

What operating system are you using? What browser?

Chrome (but any should trigger this)

#1 chipx86
  • -New
  • +Release-2.5.x
  • -Priority:Medium
#2 nicho

Claiming for easyfix

#3 chipx86

Fixed on release-2.5.x (751d099788495f7f9b951a8e418f6f3ec3ad1851). Thanks!

  • -Confirmed