[wp-trac] [WordPress Trac] #38581: Media uploads fail after session expiration
WordPress Trac
noreply at wordpress.org
Sun Oct 30 23:28:29 UTC 2016
#38581: Media uploads fail after session expiration
--------------------------+-----------------------------
Reporter: avcascade | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: 4.6.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
On occasion, I write fairly long blog posts in WordPress that can take
some time to research and put together. I've noticed that after a session
expiration, I am not able to use the media uploader to add images/files to
my post '''unless''' I refresh the editor, either by using my browser's
Refresh functionality or by clicking the Save Draft button. I could see
how a novice user could get very frustrated in this sort of situation, not
knowing how to get beyond the error.
'''Steps to reproduce'''
* On a WordPress site (for testing purposes)
[https://wordpress.org/plugins/login-security-solution/ use a plugin like
Login Security Solution] to decrease the idle timeout to something short,
like two minutes. (This negates having to wait for hours for the default
inactivity limit to be reached).
* Open the post editor and begin creating a post.
* After logging back in when prompted, try to upload an image or other
file using either the "Add Media" button or the Set featured image link.
* Watch the upload fail with the cryptic message "HTTP Error". (Uploading
... Filename.png ... HTTP error.) The user cannot ascertain from this
error why the upload failed.
Trying the upload again will result in the same error every time. The
media uploader will not work until the editor screen has been reloaded in
the browser.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38581>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list