[wp-trac] [WordPress Trac] #48522: Attachment size not generated when large images uploaded
WordPress Trac
noreply at wordpress.org
Fri Nov 8 22:18:19 UTC 2019
#48522: Attachment size not generated when large images uploaded
-------------------------------+---------------------
Reporter: vanyukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3.1
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+---------------------
Changes (by azaozz):
* keywords: => reporter-feedback
* milestone: 5.3 => 5.3.1
Comment:
Yes, image upload can still fail despite all the retry requests. The last
one should be to delete the attachment and any existing sub-sizes that
were created. Failing to delete it (to do cleanup) is a bug.
Testing with the linked image, it works properly here and creates all sub-
sizes after 2-3 retries. Limiting the server resources makes it fail, but
the attachment is deleted at the end. If it is not deleted in your tests,
could you look in the last AJAX request ant/or possibly add some debugging
in `wp_ajax_media_create_image_subsizes()` in `wp-admin/includes/ajax-
actions.php` to try to figure out what's stopping it.
Moving this to 5.3.1 for now as it seems to be working as expected.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48522#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list