wordpress-mobile / wordpress-mobile/WordPress-iOS
Failed block media uploads do not provide option to retry
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
Expected behavior
When the media attached to a block fails to upload, tapping the block should provide the option to "retry" the upload within an Action Sheet.
This ability was originally added in https://github.com/wordpress-mobile/WordPress-iOS/pull/10935 and https://github.com/wordpress-mobile/WordPress-iOS/pull/15363. The regression may have been introduced in https://github.com/wordpress-mobile/WordPress-iOS/pull/19326/commits/f3f9fc7d251ca22dc407a8d6ace6d6dc7830e505. This feature works as expected on WordPress for Android.
Actual behavior
The only option provided is "Stop Upload."
Screenshot
https://user-images.githubusercontent.com/438664/220629412-c4d35e16-3362-4adb-bd7d-5030f20d8f38.MP4

Steps to reproduce the behavior
- Add an Image or File block.
- Begin uploading media to the block.
- Disable the device's internet connection.
- Once the upload fails, re-enable the device's internet connection.
- Tap the block with the failed media.
Note
As referenced in a comment, deleting and reinstalling the app resolved the issue. Consistent reproduction steps are unknown.
Tested on iPhone SE, iOS 16.3, WPiOS [version]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with an Image or File block using the listed offline/online steps, then inspect the block's failed-upload Action Sheet flow. Compare the available actions with the expected retry option and the Android behavior. Done means a failed upload offers Retry as well as Stop Upload, with the behavior verified after restoring connectivity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100