Make WordPress Core

Opened 18 months ago

Last modified 13 months ago

#22146 new defect (bug)

Uploading Media does not show an error when connection is interrupted

Reported by: pento Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3
Component: Media Keywords:
Focuses: Cc:


When using the multi-file uploader, it doesn't show an appropriate error message when the connection is interrupted briefly. Instead, it jumps to "Crunching..." and gets stuck there, giving the impression that the upload was successful.

To reproduce:

  • Begin an upload - I suggest a file at least a few MB, so you can see the effect more easily. Also, upload to a remote server, so the connection can be easily killed.
  • Upload a few %, then disconnect your computer from the network. I found a 15-20 second disconnect worked most consistently. I was testing with an ethernet connection, I assume WiFi will be the same.
  • Reconnect, and observe the upload bar. If it continues counting up, try disconnecting again, for a little longer.

If you successfully reproduced the bug, it jumps to "Crunching...", without showing an error message.

I've reproduced this behaviour in 3.4.2 as well as trunk.

Change History (5)

comment:1 pento18 months ago

I haven't been able to reproduce the same behaviour using the Customizer uploader - I'm not sure if that's due to differences in the JS, or my own timing problems due to the lack of upload progress feedback.

comment:2 nacin17 months ago

  • Version changed from trunk to 3.3

You said this is reproducible in trunk. Was that on media-new.php, or in the Add Media dialog? The latter uses the same (newer) APIs that the customizer uses.

comment:3 pento17 months ago

Successfully reproduced in trunk with the Add Media dialogue.

comment:4 richardmtl13 months ago

  • Cc richardmtl added

comment:5 zoonini13 months ago

  • Cc zoonini added
Note: See TracTickets for help on using tickets.