Opened 12 years ago
Closed 5 years ago
#22146 closed enhancement (worksforme)
Uploading Media does not show an error when connection is interrupted
Reported by: | pento | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3 |
Component: | Media | Keywords: | needs-patch needs-testing |
Focuses: | ui, javascript | Cc: |
Description
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 (11)
#2
@
12 years 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.
#7
@
11 years ago
- Focuses ui javascript added
- Keywords needs-patch added
- Type changed from defect (bug) to enhancement
#8
@
9 years ago
- Keywords needs-testing good-first-bug added
Good first bug: Is this still reproducible?
#11
@
5 years ago
- Keywords close removed
- Resolution set to worksforme
- Status changed from new to closed
I'm also unable to reproduce this. There have been a lot of improvements to how upload failures are handled in recent versions, so this likely is no longer a problem.
If anyone can manage to reproduce this, feel free to reopen with more details to help reproduce.
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.