[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 04:16:48 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:  Awaiting Review
Component:  REST API      |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 The Gutenberg e2e tests seem to have caught a bug with the `media/edit`
 endpoint.

 The endpoint is now returning a `500` status for most use cases.

 Creating a ticket here as I was able to ascertain that it works on a past
 commit of `wordpress-develop`, but is broken on the latest commit, so it's
 not a Gutenberg bug.

 To reproduce:
 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

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


More information about the wp-trac mailing list