-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Async media: broken reattachment identification #6654
Copy link
Copy link
Closed
Labels
Description
Expected behavior
You should be able to insert a video or image in a Post and exit the editor or come back into it as many times as you want, and the Post will end up being updated remotely (as long as connectivity exists) each time.
Actual behavior
When uploading a video, exiting, re-attaching, then waiting to finish:
once it finishes, exiting the editor shows a [video] tag in the Post list, and entering the editor again shows the failed/retry overlay on the video.
For images, it seems to be working but when you come back again and tap on the image (expecting to see the image settings screen), it RETRIES THE UPLOAD, even when the failed/retry overlay wasn’t showing there.
Steps to reproduce the behavior
FOR VIDEO:
- start a new draft
- insert a video
- while the video is uploading, exit the editor
- enter the editor again
- confirm the progress gets re-attached
- wait until the video is finished uploading
- tap on the video, confirm the player is executed
- exit the editor
- enter the editor for that post again
- observe it's shown with the failed/retry overlay
FOR IMAGES:
- start a new draft
- insert an image
- while the image is uploading, exit the editor
- enter the editor again
- confirm the progress gets re-attached
- wait until the image is finished uploading
- tap on the image, confirm the image settings screen is displayed
- exit the editor
- enter the editor for that post again
- tap on the image, observe the image settings screen is not displayed this time, but rather the image starts to upload again, as if it was a failed image.
Tested on [Google Pixel], Android [8.0]
Reactions are currently unavailable