wordpress-mobile / wordpress-mobile/WordPress-iOS
Duplicate and grey images if uploading images to Media Library with bad network
Open
Nobody has claimed this yet.
[Pri] Medium
[Type] Bug
Media
- Dominant language
- Swift
- Stars
- 3.9k
- Forks
- 1.2k
- Avg merge
- 23h 51m
- Merged PRs (30d)
- 58
Description
Expected behavior
Retry should only load one copy after reconnection
Actual behavior
I get duplicate images and greyed images were reported (see video)
(The video also shows how annoying the black Retry message is)
https://cloudup.com/cnf0OOvc9Hl
Steps to reproduce the behavior
- In Media Library, add an image from device
- During the upload, enter airplane mode
- Turn off airplane mode and you will see option to retry
- Retry and you will get a duplicate (may have to refresh to see them all)
Tested on iPhone Pro 12, iOS 14.2, WPiOS 16.3
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 Media Library upload flow described in the steps on an iPhone or iOS simulator, including airplane mode during upload. Trace the retry path after reconnection and verify that one image remains, no image is greyed out, and the retry message behaves as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100