Description
Summary
The app erroneously shows successfully uploaded images as "Failed". If the user taps on the retry button (or if it is retried automatically by the app), then the image gets uploaded again. The first upload, however, often lacks caption and/or depiction. This happens probably because Wikidata edit is unsuccessful for such uploads.
Related: This commit tried to forbid retries in such cases and showed the upload as successful in the Contributions list. However, the media details fragment became unreliable; it displayed the Coordinates as None Provided
, Description as {{en|1=Ikuchijima}}
etc.
Steps to reproduce
Hard to reproduce. A deliberate way of reproducing it:
- Start an upload
- Monitor the logcat continuously until you see the image details shown by the
PageContentsCreator
- Cut the internet off
Expected behaviour
The app should upload the image reliably without losing data or adding duplicates to the server.
Actual behaviour
The app shows the image as "Failed" and uploads it again.
Device name
Redmi 5A
Android version
8.1.0
Commons app version
master and prodDebug
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
None