[Bug]: obsolete metadata pulled in on new upload
Summary
Upon choosing image, app might ask if it is "Nearby Place Found", and if user confirms, metadata is pulled automatically, which is great.
However if one aborts that upload and start next upload again with multiple pictures, enters new metadata and use "copy to the next items", it looks like it copies the correct (new) metadata, however trying back one finds that incorrect metadata (from previously aborted upload!) is used instead.
See attached video.
Steps to reproduce
- upload picture that is nearby location missing picture
- when asked "Nearby Place Found", confirm that it is right place
- go to next step and abort (cancel) before finishing upload
- try fresh upload again
- when asked "Nearby Place Found", decline the options
Expected behaviour
no metadata is copied, and all metadata is blank instead
Actual behaviour
upon entering NEW metadata and copying it to all pictures, it is ignored and instead metadata from step 2. seems to be used
Device name
Samsung Galaxy S23+
Android version
Android 15
Commons app version
6.5.0
Device logs
No response
Screenshots
https://github.com/user-attachments/assets/10610a25-a61c-4a57-9f79-fa0c604b27fa
Would you like to work on the issue?
None
hello team, requesting to be assigned this issue.
hello @nicolas-raoul , got some bit of a setback here
yet the app has all permissions
lemme try running on a different emulator(device)
@joeMba I think you are using the website instead of the app.
Can you please build and install the app? See https://github.com/commons-app/commons-app-documentation/blob/master/android/Quick-start-guide-for-Developers.md
Ah, or you are using the Wikipedia app instead of the Wikimedia Commons app. They are different. Please follow my link above. Thanks!
Thanks @nicolas-raoul for the timely response. I was actually running the app and followed the documentation, but I can check again microscopically.
However, I have noticed something. Isn't it risky to retrieve the user name already in the database when someone tries to signup
https://github.com/user-attachments/assets/642bc64a-23a9-499a-b9d3-dfcbb46ae58b
The list of users is not a secret: https://commons.wikimedia.org/wiki/Special:ListUsers
10. The list of users is not a secret: https://commons.wikimedia.org/wiki/Special:ListUsers
OOh, nice! Thanks for the clarity.
Hello @nicolas-raoul , @mnalis I could not reproduce the issue on my end. I have carefully followed the procedure above. Is it still reproducible from your end @mnalis?
https://github.com/user-attachments/assets/54ed6830-da74-40b0-95c0-f164373469ae
what would you advise @nicolas-raoul ? Could it be that it was fixed in the recent versions Actually I think this issue is related to this right here . fixing or closing this would mean closing it too.??
Actually I have not experienced these two issues in a few months. How about you @mnalis ?
Hello @nicolas-raoul , do you think we can mark this as done? Thanks!