Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor: image uploads are not removed when the block is deleted #23124

Closed
kean opened this issue Apr 30, 2024 · 2 comments · Fixed by WordPress/gutenberg#61251
Closed

Editor: image uploads are not removed when the block is deleted #23124

kean opened this issue Apr 30, 2024 · 2 comments · Fixed by WordPress/gutenberg#61251
Assignees
Labels
Gutenberg Editing and display of Gutenberg blocks. [Pri] High [Type] Bug

Comments

@kean
Copy link
Contributor

kean commented Apr 30, 2024

Steps to reproduce the behavior

  • Open an editor
  • Add an image block with a failing uploads (e.g. the size is too large)
  • Remove the block (do NOT cancel the upload)

Expected behavior

The associated upload is removed. You can publish a post or save it as a draft.

Actual behavior

The upload is not cancelled and prevents the app from publishing the post or saving it as a draft. There are no workarounds.

media-upload-failed-2.mp4
Tested on [device], iOS [version], Jetpack iOS / WordPress iOS [version]

24.5, 24.7

@kean kean added [Type] Bug [Pri] Blocking Gutenberg Editing and display of Gutenberg blocks. labels Apr 30, 2024
@dangermattic
Copy link
Collaborator

dangermattic commented Apr 30, 2024

Thanks for reporting! 👍

@geriux geriux self-assigned this Apr 30, 2024
@kean
Copy link
Contributor Author

kean commented Apr 30, 2024

Changing the priority to "High" because severity is high, but I don't believe it's a common scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Editing and display of Gutenberg blocks. [Pri] High [Type] Bug
Projects
None yet
3 participants