apps-android-commons
apps-android-commons copied to clipboard
[Bug]: Use of "previous" then "next" causes duplicates if name changed
Summary
When uploading multiple images, switching backwards and forwards between them to edit the "caption" [sic: file name] causes duplicate uploads
Steps to reproduce
- Select multiple images to share
- Share to app
- Enter caption and description for first image
- Copy details to all images
- Select "Next"
- Modify image caption
- Select "Previous"
- Modify image caption
- Select "Next"
- Select "Next" again
- Optionally repeat 6-9
- Complete upload
Expected behaviour
Each image should be uploaded once, with the final version of its caption as the file name.
Actual behaviour
Multiple copies of images are uploaded.
Device name
Nord Plus One
Android version
Android 11
Commons app version
3.1.1~1c9267ca0
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
Prefer not
Thanks for reporting!
Good news, that does not seem to happen in recent master, I just tried with the exact same steps. If this is actually not happening every time, please let us know, thanks! 🙂
If this is actually not happening every time, please let us know
Happy to test; when will this master be deployed?
Happy to test; when will this master be deployed?
Thanks a lot, that's a great help! I believe it is already available to beta users. Here is how to join the beta: https://github.com/commons-app/commons-app-documentation/blob/master/android/Volunteers-welcome!.md#testers
I have now tested this using the current Beta (version=4.0.3~23c474b06). The issue persists, and occurred on my first attempt to upload multiple images..
See screenshot at https://commons.wikimedia.org/wiki/File:Commons_app_beta_screenshot_showing_duplicate_uploads_-_2022-08-07.png (The duplicate copies have been nominated for speedy deletion.)
Another screenshot - https://commons.wikimedia.org/wiki/File:Commons_app_beta_screenshot_showing_duplicate_uploads_-2022-08-07-_02.jpg - shows the app itself, with two images having identical file names.
Thanks, I will try again!
On Sun, 7 Aug 2022, 18:37 Andy Mabbett, @.***> wrote:
I have now tested this using the current Beta (version=4.0.3~23c474b06). The issue persists, and occurred on my first attempt to upload multiple images..
See screenshot at https://commons.wikimedia.org/wiki/File:Commons_app_beta_screenshot_showing_duplicate_uploads_-_2022-08-07.png (The duplicate copies have been nominated for speedy deletion.)
— Reply to this email directly, view it on GitHub https://github.com/commons-app/apps-android-commons/issues/4966#issuecomment-1207368685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYKBRM2GWYU6JWMOCOVE3VX57XLANCNFSM5WSEIWNA . You are receiving this because you commented.Message ID: @.***>