Skip to content

Image uploads broken in site editor #57037

Closed

Description

@glendaviesnz

Description

In 17.1+ and trunk image uploads are broken via blocks in the site editor. The work as expected in post editor, and via the media library in the site editor, but using the Upload button in Image block etc. causes a Invalid paramater: post error.

It looks like this bug was introduced by #55970 - commits prior to this work as expected.

Step-by-step reproduction instructions

  • Go to site editor and edit a page or template
  • Add an Image block and try using the Upload option

Screenshots, screen recording, code snippet

Screenshot 2023-12-14 at 3 11 35 PM

Environment info

17.1+

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Activity

  1. added
    [Type] Bug
    [Feature] Site Editor
    on Dec 14, 2023
  2. self-assigned this
    on Dec 14, 2023
  3. added
    [Status] In Progress
    on Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Feature] Site Editor[Status] In Progress[Type] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions