[wp-trac] [WordPress Trac] #55367: Requests to the media/edit endpoint are returning a 500 status

WordPress Trac noreply at wordpress.org
Mon Mar 14 11:57:29 UTC 2022


#55367: Requests to the media/edit endpoint are returning a 500 status
--------------------------------------+---------------------
 Reporter:  talldanwp                 |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.0
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by antonvlasenko):

 Test Report

 Web Server: Apache
 WordPress: 6.0-alpha
 Browser: Chrome 99
 OS: macOS 12.2.1
 Theme: Twenty Twenty-Two
 Plugins: None.

 Steps to test:
 1. Open the browser dev tools to the network tab.
 2. In the post editor, add an image block and upload an image.
 3. Select ‘Crop’ from the toolbar and adjust the zoom on the image.
 4. Click ‘Apply’.
 5. Observe that the request to the media endpoint returns a 500 status.
 6. Apply [https://github.com/WordPress/wordpress-develop/pull/2400 2400]
 7. Repeat steps 1-4.
 8. Observe that the request ended successfully (200 response status).

 Before:
 [[Image(https://cldup.com/k3sr3UYtb0.png)]]

 After:
 [[Image(https://cldup.com/MiVoBtdmnB.png)]]

 The proposed [https://github.com/WordPress/wordpress-develop/pull/2400 PR]
 fixes the issue and therefore it should be merged.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55367#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list