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

Media & Text - Block validation error occurs if media upload finishes when the post is closed #1509

Closed
pinarol opened this issue Oct 29, 2019 · 2 comments
Labels
Media [Type] Bug Something isn't working

Comments

@pinarol
Copy link
Contributor

pinarol commented Oct 29, 2019

Detected during testing #1503.
Also reproducible @ 9f4afd6 develop
Tested with iPhone 8 plus, iOS 13.1

  • Add media & text block, tap placeholder and choose Choose from device
  • Start upload but before it finishes close the post by selecting Update Post
  • Wait until the upload finishes
  • Re-open the post and you'll see:

Screen Shot 2019-10-28 at 15 24 52

  • Switch to html mode, meda-text is still showing the upload id:

Screen Shot 2019-10-29 at 11 09 33

mediaTextUpload2

Expected:

  • Add media & text block, tap placeholder and choose Choose from device
  • Start upload but before it finishes close the post by selecting Update Post
  • Wait until the upload finishes
  • Re-open the post
  • Verify that no red screen occurs
  • Switch to html mode
  • Verify that the mediaId is correct(usually a shorter and a positive number)
@koke
Copy link
Member

koke commented Oct 29, 2019

Tested on WPAndroid develop with 1.15.1 and could reproduce the issue.

@etoledom
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Media [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants