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: Closing a post with an ongoing media upload in Cover block results in malformed content #22901

Open
fluiddot opened this issue Mar 26, 2024 · 1 comment
Assignees
Labels
Gutenberg Editing and display of Gutenberg blocks. [Type] Bug

Comments

@fluiddot
Copy link
Contributor

Expected behavior

Closing a post with ongoing media uploads should produce valid content.

Actual behavior

Closing a post with ongoing media uploads produces malformed content.

Steps to reproduce the behavior

Note

It's recommended to use the Network Link Conditioner to ensure the upload duration allows you to close the editor before finishes.

  1. Add a Cover block and tap the placeholder.
  2. Select "Choose from device" option.
  3. Select an image from the device and confirm the selection.
  4. While the image is uploading, leave the editor.
  5. Verify that you see the Uploading media... placeholder in the post summary.
  6. Wait for the upload to complete while in the post list.
  7. Re-open the post with the Cover block.
  8. Observe the Cover block is rendered with the error Problem displaying block.
ios-upload-cover-block.MP4
Tested on iPhone 11, iOS 17.0.2, Jetpack iOS / WordPress iOS 24.5.0.1
@fluiddot fluiddot added [Type] Bug Gutenberg Editing and display of Gutenberg blocks. labels Mar 26, 2024
@fluiddot fluiddot self-assigned this Mar 26, 2024
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

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. [Type] Bug
Projects
None yet
Development

No branches or pull requests

2 participants