-
Notifications
You must be signed in to change notification settings - Fork 58
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 Upload fails to upload image when leaving and coming back in #1928
Comments
What happens when we dismiss the retry dialog? Does it complete successfully? |
For me when the app was uploading a new page and a new image it was just hanging on the upload for a new page and never completing (waited for a few minutes). However, if I can fix this issue by:
Then the page uploads successfully. Just revalidated a few flows and this looks like it's an issue on other media blocks as well not just gallery. |
I can repro this with the same apk on Android(Huawei p20 lite, Android 9.0):
Expected:
Reality:
|
After performing the steps in the previous comment, in the notification center, I see the Uploading dialog for "1 page and 1 file." To fix this apparent lock between the media uploader and the page publish, you can do one of the following: Any of those seem to allow the page to upload successfully. Also worth noting in the HTML view of the page, you'll see a local URL for the media. However, in my case, when I went to https://wordpress.com/media/{site name}, then I saw the image had successfully uploaded. |
So far, I
|
Hi @chipsnyder 👋 , Thanks for testing this flow on the release. I was unable to reproduce this issue, following the same steps. I tried on:
via Pixel 3a (Android 10). In all cases, I observed the expected behavior for this flow, so perhaps there is some subtle difference in our actions to arrive at different results (or maybe some race condition)? Here is a screencast of my test: Can you see whether anything is different about the flow I used? |
Hey @mkevins, In your gif, it looks like you might be creating a new post instead of a new page. Try creating a new page instead. In my testing posts were fine, but pages had problems. |
@mkevins @chipsnyder I definitely was seeing the issue with Posts also, and I think Pinar was too, unless the above was a mistype. Still not sure why Matt is not producing the issue, his steps look the same as mine. I did have to switch to slower mobile network and larger photos to make sure I was not loading too fast when switching back and forth. But the loading bar in Matt's video seems to show that the image is still loading, so not sure why he is not seeing the issue. |
Right, I tried with a post as well. |
I'm seeing the following in my testing:
In the scenario where the upload finishes after the post has been reopened in the editor (4c), I did not observe any UI indication that the upload was still in progress with image blocks. Gallery blocks, on the other hand, did have the upload progress bar as like in @mkevins comment and gif. I recreated this issue on the 14.1 release (the only other release I tested), so this does not appear to me to be a new regression. I could not recreate this issue on iOS because iOS appears to block the user from reopening a post while it is in the process of being uploaded. |
Should be resolved with associated PRs |
Describe the bug
Close/Re-opening a page with ongoing image uploads in a Gallery Block causes the image to be marked for retry.
To Reproduce
Steps to reproduce the behavior:
Error: Image gets locked into a mode where it's tagged to be uploaded
Expected: Image should upload successfully and reflect the proper state.
https://github.com/wordpress-mobile/test-cases/blob/master/test-cases/gutenberg/gallery.md#tc001
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Smartphone (please complete the following information):
APK used to test
Additional context
Discovered during regression testing for Release 1.23.0
The text was updated successfully, but these errors were encountered: