[wp-trac] [WordPress Trac] #39647: Make media upload "HTTP error." more user-helpful
WordPress Trac
noreply at wordpress.org
Fri Feb 10 18:31:33 UTC 2017
#39647: Make media upload "HTTP error." more user-helpful
--------------------------+---------------------------------
Reporter: mikeschroder | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.4
Severity: normal | Resolution:
Keywords: | Focuses: ui, administration
--------------------------+---------------------------------
Comment (by mikeschroder):
As noted in the Slack mention above, @joemcgill and I met about this
ticket a bit at Loopconf regarding what would be necessary for the first
steps here.
They look something like:
- Improve JS handling of http error codes and body, to provide more
detailed error messages
- Save progress of meta/`multi_resize` during creation of the intermediate
images (with save basic meta before starting resizing process)
- Resume `multi_resize` without re-uploading the file
I've got a pretty good idea of what the latter two will look like, but any
insights of the JS handling -- in particular, why we're not surfacing any
error details -- would be appreciated. I remember that there were
technical challenges (rather than deciding the information was not
helpful) involved in resolving this, but do not remember all of the
background.
I don't think it necessarily needs to happen in this order, as making it
so that thumbnail resizing resumes in any form will help more users be
successful in getting their images uploaded (and eventually not having the
HTTP Error show up).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39647#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list