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

WordPress Trac noreply at wordpress.org
Fri Mar 11 22:54:14 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 costdev):

 == Test Report

 === Env
 * Web Server: Apache (Linux)
 * WordPress: 6.0-alpha-52448-src
 * Browser: Chrome
 * OS: Windows 10
 * Theme: Twenty Twenty-Two
 * Plugins: None activated.

 === 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 PR
 2400]
 7. Observe that the request to the media endpoint no longer returns a
 `500` status.
 === Results
 1. Before [https://github.com/WordPress/wordpress-develop/pull/2400 PR
 2400]: Received a `500` status.
 2. After [https://github.com/WordPress/wordpress-develop/pull/2400 PR
 2400]: Did not receive a `500` status.

 PR resolves the issue. 👍

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


More information about the wp-trac mailing list